export type BearerTokenAudience = 'mcp' | 'api2' | (string & {}); export type BearerTokenResponse = { access_token: string; token_type: 'Bearer'; expires_in: number; scope?: string; }; export type MintBearerTokenOptions = { allowProcessEnvEndpointFallback?: boolean; endpoint?: string; aud?: BearerTokenAudience | string; /** * Requested scopes. Must be a subset of the auth key's scope. * * If omitted, the token inherits the auth key's scope. */ scope?: string[] | string; timeoutMs?: number; }; export type MintBearerTokenResult = { ok: true; raw: string; data: BearerTokenResponse; } | { ok: false; error: string; }; export declare function mintBearerTokenWithCredentials(credentials: { authKey: string; authSecret: string; }, options?: MintBearerTokenOptions): Promise; //# sourceMappingURL=bearerToken.d.ts.map