/**
 * Copyright 2020 Google Inc. All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/**
 * @public
 */
export interface ConnectionTransport {
  send(string: any): any;
  close(): any;
  onmessage?: (message: string) => void;
  onclose?: () => void;
}

// denoCacheMetadata={"headers":{"alt-svc":"h3=\":443\"; ma=86400","via":"1.1 720129ba4056e60029189758c6f0de0c.cloudfront.net (CloudFront),HTTP/2 ord.vultr.prod.deno-cluster.net","cache-status":"deno; hit","x-amz-cf-id":"7kIn-UnKLFEAXQYg2wGrxw81_qQbRStlBmm9O3om_Zt4EV-24KFEJw==","cache-control":"public, max-age=31536000, immutable","date":"Mon, 05 Jan 2026 20:32:43 GMT","x-amz-replication-status":"COMPLETED","strict-transport-security":"max-age=63072000; includeSubDomains; preload","x-frame-options":"DENY","cross-origin-resource-policy":"same-origin","content-security-policy":"default-src 'none'; style-src 'unsafe-inline'; sandbox","cross-origin-opener-policy":"same-origin","x-amz-cf-pop":"ORD56-P16","content-type":"application/typescript; charset=utf-8","x-deno-trace-id":"65479de9991c2101966347f9273af4b8","age":"955026","referrer-policy":"strict-origin-when-cross-origin","accept-ranges":"bytes","x-amz-version-id":"HOKkgx9V9rip26VJAzvCYWJHoLiM9ny_","server-timing":"fetchSource;dur=35","x-cache":"Hit from cloudfront","etag":"\"716800d97ff779a576920f413039425a\"","vary":"Accept-Encoding, Origin","last-modified":"Wed, 29 Sep 2021 16:18:57 GMT","x-content-type-options":"nosniff","server":"AmazonS3,deployd","cross-origin-embedder-policy":"same-origin","content-length":"784","access-control-allow-origin":"*"},"url":"https://deno.land/x/puppeteer@9.0.2/vendor/puppeteer-core/puppeteer/common/ConnectionTransport.d.ts","time":1768600189}