import { A as AuthResult } from '../authTypes-jU7ON-I5.js';

type FetchAutumnHandlerOptions = {
    /** Function to identify the customer from the request */
    identify: (request: Request) => AuthResult;
    /** Autumn API secret key */
    secretKey?: string;
    /** Autumn API URL */
    autumnURL?: string;
    /** Path prefix for routes (default: "/api/autumn") */
    pathPrefix?: string;
};
declare function autumnHandler(options: FetchAutumnHandlerOptions): (request: Request) => Promise<Response>;

export { type FetchAutumnHandlerOptions, autumnHandler };
