import { LambdaHttpRequest, LambdaHttpResponse } from '@linzjs/lambda';
export declare type ReqCallback = (req: LambdaHttpRequest) => Promise<LambdaHttpResponse>;
export interface ActionData {
    version: string;
    name: string;
    rest: string[];
}
export declare class Router {
    static action(req: LambdaHttpRequest): ActionData;
    static apiKey(req: LambdaHttpRequest): string | undefined;
    private handlers;
    handle(req: LambdaHttpRequest): Promise<LambdaHttpResponse>;
    get(path: string, handler: ReqCallback): void;
}
//# sourceMappingURL=router.d.ts.map