import * as z from "zod/v3"; export type Credentials = { /** * The refresh token can be used to obtain a new access token. */ refreshToken?: string | null | undefined; /** * Access token */ accessToken?: string | undefined; /** * The datetime at which the token was issued. If omitted the token will be queued for refresh. */ issuedAt?: Date | null | undefined; /** * The number of seconds until the token expires. If omitted the token will be queued for refresh. */ expiresIn?: number | null | undefined; }; export type ConnectionImportData = { credentials?: Credentials | undefined; /** * Connection settings. Values will persist to `form_fields` with corresponding id */ settings?: { [k: string]: any; } | null | undefined; /** * Attach your own consumer specific metadata */ metadata?: { [k: string]: any; } | null | undefined; }; /** @internal */ export type Credentials$Outbound = { refresh_token?: string | null | undefined; access_token?: string | undefined; issued_at?: string | null | undefined; expires_in?: number | null | undefined; }; /** @internal */ export declare const Credentials$outboundSchema: z.ZodType; export declare function credentialsToJSON(credentials: Credentials): string; /** @internal */ export type ConnectionImportData$Outbound = { credentials?: Credentials$Outbound | undefined; settings?: { [k: string]: any; } | null | undefined; metadata?: { [k: string]: any; } | null | undefined; }; /** @internal */ export declare const ConnectionImportData$outboundSchema: z.ZodType; export declare function connectionImportDataToJSON(connectionImportData: ConnectionImportData): string; //# sourceMappingURL=connectionimportdata.d.ts.map