import type { ApiRequestOptions } from "./ApiRequestOptions";
export type Resolver<T> = (options: ApiRequestOptions) => Promise<T>;
export type Headers = Record<string, string>;
export type OpenAPIConfig = {
    BASE: string;
    VERSION: string;
    WITH_CREDENTIALS: boolean;
    CREDENTIALS: "include" | "omit" | "same-origin";
    TOKEN?: string | Resolver<string>;
    USERNAME?: string | Resolver<string>;
    PASSWORD?: string | Resolver<string>;
    HEADERS?: Headers | Resolver<Headers>;
    ENCODE_PATH?: (path: string) => string;
};
export type Config = OpenAPIConfig;
export declare const OpenAPI: OpenAPIConfig;
export interface SignicatAuthConfig {
    clientId: string;
    clientSecret: string;
    tokenUrl?: string;
    scope?: string;
    expirationBuffer?: number;
}
export declare let SignicatAuth: SignicatAuthConfig | undefined;
export declare const configureSignicatAuth: (config: SignicatAuthConfig) => void;
