import type { firstPartyContract } from "@automate.ax/api-contract"; import type { ContractRouterClient } from "@orpc/contract"; export declare const apiClient: ContractRouterClient; /** First-party client that always represents the saved user session. */ export declare const sessionApiClient: ContractRouterClient; /** * Selects the explicit organization API key before a saved user session. * * @param options - Available CLI credentials. * @param options.apiKey - Organization API key supplied through the * environment. * @param options.sessionToken - User session read from the saved CLI login. * @throws When neither credential is available. */ export declare function createApiAuthenticationHeaders(options: { apiKey?: string; sessionToken: string | null; }): { "x-api-key": string; authorization?: undefined; } | { authorization: string; "x-api-key"?: undefined; }; //# sourceMappingURL=api-client.d.ts.map