import { Http2ServerRequest } from "http2"; import { IncomingMessage } from "http"; import { Getter } from "../types/types"; export declare type CookieSetterParams = string[] | string; export declare type CookieGetterResult = CookieSetterParams | undefined; export declare type CookieGetter = Getter; export declare const getCookie: (req: IncomingMessage | Http2ServerRequest, key: string) => CookieGetterResult;