export type CloudAppFetch = (input: string, init?: { method?: string; headers?: Record; body?: string; }) => Promise; export interface CloudAppTokenExchangeParams { appRegistrationId: string; appSecret: string; coreApiUrl: string; fetch?: CloudAppFetch; } export interface CloudAppToken { token: string; expiresAt: string; expiresAtMs: number; } export declare class CloudAppTokenExchangeError extends Error { readonly status?: number; constructor(message: string, status?: number); } export declare const exchangeCloudAppToken: (params: CloudAppTokenExchangeParams) => Promise; //# sourceMappingURL=cloud-app-token.service.d.ts.map