import corsPkg from 'cors'; export declare const corsHandleOrigin: (origin: string | undefined, callback: (err: Error | null, handle: boolean) => void) => void; export declare const corsConfig: (req: corsPkg.CorsRequest, res: { statusCode?: number | undefined; setHeader(key: string, value: string): any; end(): any; }, next: (err?: any) => any) => void;