import * as Schema from "effect/Schema";
export declare const GetFinancialConnectionsSessionsSessionInput: Schema.Struct<{
    readonly session: Schema.String;
    readonly expand: Schema.optional<Schema.String>;
}>;
export type GetFinancialConnectionsSessionsSessionInput = typeof GetFinancialConnectionsSessionsSessionInput.Type;
export declare const GetFinancialConnectionsSessionsSessionOutput: Schema.Struct<{
    readonly account_holder: Schema.Unknown;
    readonly accounts: Schema.Struct<{
        readonly data: Schema.$Array<Schema.Struct<{
            readonly account_holder: Schema.Unknown;
            readonly account_numbers: Schema.NullOr<Schema.$Array<Schema.Struct<{
                readonly expected_expiry_date: Schema.NullOr<Schema.Number>;
                readonly identifier_type: Schema.Literals<readonly ["account_number", "tokenized_account_number"]>;
                readonly status: Schema.Literals<readonly ["deactivated", "transactable"]>;
                readonly supported_networks: Schema.$Array<Schema.Literals<readonly ["ach"]>>;
            }>>>;
            readonly balance: Schema.Unknown;
            readonly balance_refresh: Schema.Unknown;
            readonly category: Schema.Literals<readonly ["cash", "credit", "investment", "other"]>;
            readonly created: Schema.Number;
            readonly display_name: Schema.NullOr<Schema.String>;
            readonly id: Schema.String;
            readonly institution_name: Schema.String;
            readonly last4: Schema.NullOr<Schema.String>;
            readonly livemode: Schema.Boolean;
            readonly object: Schema.Literals<readonly ["financial_connections.account"]>;
            readonly ownership: Schema.Unknown;
            readonly ownership_refresh: Schema.Unknown;
            readonly permissions: Schema.NullOr<Schema.$Array<Schema.Literals<readonly ["balances", "ownership", "payment_method", "transactions"]>>>;
            readonly status: Schema.Literals<readonly ["active", "disconnected", "inactive"]>;
            readonly subcategory: Schema.Literals<readonly ["checking", "credit_card", "line_of_credit", "mortgage", "other", "savings"]>;
            readonly subscriptions: Schema.NullOr<Schema.$Array<Schema.Literals<readonly ["transactions"]>>>;
            readonly supported_payment_method_types: Schema.$Array<Schema.Literals<readonly ["link", "us_bank_account"]>>;
            readonly transaction_refresh: Schema.Unknown;
        }>>;
        readonly has_more: Schema.Boolean;
        readonly object: Schema.Literals<readonly ["list"]>;
        readonly url: Schema.String;
    }>;
    readonly client_secret: Schema.NullOr<Schema.Schema<string | import("effect/Redacted").Redacted<string>>>;
    readonly filters: Schema.optional<Schema.Struct<{
        readonly account_subcategories: Schema.NullOr<Schema.$Array<Schema.Literals<readonly ["checking", "credit_card", "line_of_credit", "mortgage", "savings"]>>>;
        readonly countries: Schema.NullOr<Schema.$Array<Schema.String>>;
    }>>;
    readonly id: Schema.String;
    readonly livemode: Schema.Boolean;
    readonly object: Schema.Literals<readonly ["financial_connections.session"]>;
    readonly permissions: Schema.$Array<Schema.Literals<readonly ["balances", "ownership", "payment_method", "transactions"]>>;
    readonly prefetch: Schema.NullOr<Schema.$Array<Schema.Literals<readonly ["balances", "ownership", "transactions"]>>>;
    readonly return_url: Schema.optional<Schema.String>;
}>;
export type GetFinancialConnectionsSessionsSessionOutput = typeof GetFinancialConnectionsSessionsSessionOutput.Type;
/**
 * Retrieve a Session
 *
 * <p>Retrieves the details of a Financial Connections <code>Session</code></p>
 *
 * @param expand - Specifies which fields in the response should be expanded.
 */
export declare const GetFinancialConnectionsSessionsSession: import("@distilled.cloud/core/client").OperationMethod<{
    readonly expand?: string | undefined;
    readonly session: string;
}, {
    readonly account_holder: unknown;
    readonly accounts: {
        readonly data: readonly {
            readonly account_holder: unknown;
            readonly account_numbers: readonly {
                readonly expected_expiry_date: number | null;
                readonly identifier_type: "account_number" | "tokenized_account_number";
                readonly status: "deactivated" | "transactable";
                readonly supported_networks: readonly "ach"[];
            }[] | null;
            readonly balance: unknown;
            readonly balance_refresh: unknown;
            readonly category: "cash" | "credit" | "investment" | "other";
            readonly created: number;
            readonly display_name: string | null;
            readonly id: string;
            readonly institution_name: string;
            readonly last4: string | null;
            readonly livemode: boolean;
            readonly object: "financial_connections.account";
            readonly ownership: unknown;
            readonly ownership_refresh: unknown;
            readonly permissions: readonly ("balances" | "ownership" | "payment_method" | "transactions")[] | null;
            readonly status: "active" | "disconnected" | "inactive";
            readonly subcategory: "checking" | "credit_card" | "line_of_credit" | "mortgage" | "other" | "savings";
            readonly subscriptions: readonly "transactions"[] | null;
            readonly supported_payment_method_types: readonly ("link" | "us_bank_account")[];
            readonly transaction_refresh: unknown;
        }[];
        readonly has_more: boolean;
        readonly object: "list";
        readonly url: string;
    };
    readonly client_secret: string | import("effect/Redacted").Redacted<string> | null;
    readonly filters?: {
        readonly account_subcategories: readonly ("checking" | "credit_card" | "line_of_credit" | "mortgage" | "savings")[] | null;
        readonly countries: readonly string[] | null;
    } | undefined;
    readonly id: string;
    readonly livemode: boolean;
    readonly object: "financial_connections.session";
    readonly permissions: readonly ("balances" | "ownership" | "payment_method" | "transactions")[];
    readonly prefetch: readonly ("balances" | "ownership" | "transactions")[] | null;
    readonly return_url?: string | undefined;
}, never, import("../credentials.ts").Credentials>;
//# sourceMappingURL=GetFinancialConnectionsSessionsSession.d.ts.map