/** Netlify event — structurally compatible with API Gateway proxy events. */
export interface NetlifyEvent {
    body: string | null;
    headers: {
        [key: string]: string | undefined;
    };
    httpMethod: string;
    path: string;
    queryStringParameters: {
        [key: string]: string | undefined;
    } | null;
    isBase64Encoded?: boolean;
    rawUrl?: string;
}
export interface NetlifyResult {
    statusCode: number;
    headers?: {
        [key: string]: string;
    };
    body: string;
}
/** Function context — Netlify mirrors a subset of the Lambda context. */
export interface NetlifyContext {
    functionName?: string;
    awsRequestId?: string;
    identity?: unknown;
    clientContext?: unknown;
}
/** Routed Netlify handler. */
export declare function netlifyHandler(event: NetlifyEvent, _context?: NetlifyContext): Promise<NetlifyResult>;
/**
 * Single-route convenience — infers single vs. batch from the body. Useful
 * when each function is mapped to a distinct URL and you don't need internal
 * routing.
 */
export declare function netlifyFunction(event: NetlifyEvent, _context?: NetlifyContext): Promise<NetlifyResult>;
declare const _default: {
    netlifyHandler: typeof netlifyHandler;
    netlifyFunction: typeof netlifyFunction;
};
export default _default;
