import type { APIGatewayEvent, Context as LambdaContext } from 'aws-lambda'; import type { Decoder } from '@cedarjs/api'; import type { GetCurrentUser } from '../types.js'; interface Args { authDecoder?: Decoder | Decoder[]; handlerFn: (event: APIGatewayEvent, context?: LambdaContext, ...others: any) => any; getCurrentUser?: GetCurrentUser; } export type UseRequireAuth = (args: Args) => (event: APIGatewayEvent, context?: LambdaContext, ...rest: any) => Promise>; export declare const useRequireAuth: UseRequireAuth; export {}; //# sourceMappingURL=useRequireAuth.d.ts.map