import { type ApiHandlerInternalConfig } from '../../../api-handler';
import { type ApiRequest, type ApiResponse } from '../../../api-handler/request-response';
export type ApiHandlerConfig = Omit<ApiHandlerInternalConfig, 'client' | 'revalidationHandler'> & {
    req: ApiRequest;
    route: string;
    sendResponse: (res: ApiResponse) => Promise<Response | void>;
    revalidationHandler: (path?: string) => Promise<void>;
    customRoutes: (route: string) => Promise<{
        res: Response | void;
    } | null>;
};
export declare function validateApiRoute(params: Partial<{
    [key: string]: string | string[];
}>): string;
//# sourceMappingURL=base.d.ts.map