import * as z from "zod/v3";
import { OpenEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { StatusReason } from "./statusreason.js";
export type Credentials = {};
export declare enum LinkedAccountStatus {
    Active = "active",
    Inactive = "inactive",
    Suspended = "suspended",
    Archived = "archived",
    Expired = "expired",
    Error = "error"
}
export type LinkedAccountStatusOpen = OpenEnum<typeof LinkedAccountStatus>;
/**
 * The account type
 */
export declare enum LinkedAccountType {
    Production = "production",
    Test = "test",
    UnmappedValue = "unmapped_value"
}
/**
 * The account type
 */
export type LinkedAccountTypeOpen = OpenEnum<typeof LinkedAccountType>;
export type LinkedAccount = {
    createdAt: Date;
    credentials?: Credentials | null | undefined;
    id: string;
    label?: string | null | undefined;
    originOwnerId: string;
    originOwnerName: string;
    originUsername?: string | null | undefined;
    provider: string;
    providerName?: string | null | undefined;
    setupInformation?: {
        [k: string]: any;
    } | null | undefined;
    status: LinkedAccountStatusOpen;
    statusReasons?: Array<StatusReason> | null | undefined;
    /**
     * The account type
     */
    type?: LinkedAccountTypeOpen | null | undefined;
    updatedAt: Date;
};
/** @internal */
export declare const Credentials$inboundSchema: z.ZodType<Credentials, z.ZodTypeDef, unknown>;
export declare function credentialsFromJSON(jsonString: string): SafeParseResult<Credentials, SDKValidationError>;
/** @internal */
export declare const LinkedAccountStatus$inboundSchema: z.ZodType<LinkedAccountStatusOpen, z.ZodTypeDef, unknown>;
/** @internal */
export declare const LinkedAccountType$inboundSchema: z.ZodType<LinkedAccountTypeOpen, z.ZodTypeDef, unknown>;
/** @internal */
export declare const LinkedAccount$inboundSchema: z.ZodType<LinkedAccount, z.ZodTypeDef, unknown>;
export declare function linkedAccountFromJSON(jsonString: string): SafeParseResult<LinkedAccount, SDKValidationError>;
//# sourceMappingURL=linkedaccount.d.ts.map