import type { ApiFunctionsBasicContext } from '../../types';
export type ApiRoutesWorkerParams = {
    maxResponseSizeMB?: number;
    slug: string;
    requestHandlerId: string;
    ctxData: ApiFunctionsBasicContext;
    staticData: Record<string, unknown>;
    serverOutDir: string;
    req: {
        url: string;
        method: string;
        headers: Record<string, string>;
        body: string | null;
        bodyUsed: boolean;
        cache: RequestCache;
        credentials: RequestCredentials;
        destination: RequestDestination;
        integrity: string;
        mode: RequestMode;
        redirect: RequestRedirect;
        referrer: string;
        referrerPolicy: ReferrerPolicy;
    };
    sqldRemoteDatabaseUrl?: string;
    sqldRemoteDatabaseAuthToken?: string;
};
export type ApiRoutesWorkerResponse = {
    status: number;
    headers: Record<string, string>;
    body: {
        type: 'Buffer';
        data: number[];
    };
};
//# sourceMappingURL=api-routes.d.ts.map