import type { H3Event } from "h3"; import type { BearerAuthEndpointOptions } from "../../../types.js"; type HttpMethod = "GET" | "POST" | "PUT" | "PATCH" | "DELETE"; export interface ExternalApiOptions { event?: H3Event; method?: HttpMethod; body?: unknown; query?: Record; token?: string; headers?: Record; } export declare function callAuthApi(endpoint: string, options?: ExternalApiOptions): Promise; export declare function getAuthEndpoint(name: keyof BearerAuthEndpointOptions): string; export {}; //# sourceMappingURL=external-api.d.ts.map