import * as Schema from "effect/Schema";
export declare const PostTreasuryFinancialAccountsInput: Schema.Struct<{
    readonly expand: Schema.optional<Schema.$Array<Schema.String>>;
    readonly features: Schema.optional<Schema.Struct<{
        readonly card_issuing: Schema.optional<Schema.Struct<{
            readonly requested: Schema.Boolean;
        }>>;
        readonly deposit_insurance: Schema.optional<Schema.Struct<{
            readonly requested: Schema.Boolean;
        }>>;
        readonly financial_addresses: Schema.optional<Schema.Struct<{
            readonly aba: Schema.optional<Schema.Struct<{
                readonly requested: Schema.Boolean;
            }>>;
        }>>;
        readonly inbound_transfers: Schema.optional<Schema.Struct<{
            readonly ach: Schema.optional<Schema.Struct<{
                readonly requested: Schema.Boolean;
            }>>;
        }>>;
        readonly intra_stripe_flows: Schema.optional<Schema.Struct<{
            readonly requested: Schema.Boolean;
        }>>;
        readonly outbound_payments: Schema.optional<Schema.Struct<{
            readonly ach: Schema.optional<Schema.Struct<{
                readonly requested: Schema.Boolean;
            }>>;
            readonly us_domestic_wire: Schema.optional<Schema.Struct<{
                readonly requested: Schema.Boolean;
            }>>;
        }>>;
        readonly outbound_transfers: Schema.optional<Schema.Struct<{
            readonly ach: Schema.optional<Schema.Struct<{
                readonly requested: Schema.Boolean;
            }>>;
            readonly us_domestic_wire: Schema.optional<Schema.Struct<{
                readonly requested: Schema.Boolean;
            }>>;
        }>>;
    }>>;
    readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
    readonly nickname: Schema.optional<Schema.Unknown>;
    readonly platform_restrictions: Schema.optional<Schema.Struct<{
        readonly inbound_flows: Schema.optional<Schema.Literals<readonly ["restricted", "unrestricted"]>>;
        readonly outbound_flows: Schema.optional<Schema.Literals<readonly ["restricted", "unrestricted"]>>;
    }>>;
    readonly supported_currencies: Schema.$Array<Schema.String>;
}>;
export type PostTreasuryFinancialAccountsInput = typeof PostTreasuryFinancialAccountsInput.Type;
export declare const PostTreasuryFinancialAccountsOutput: Schema.Struct<{
    readonly active_features: Schema.optional<Schema.$Array<Schema.Literals<readonly ["card_issuing", "deposit_insurance", "financial_addresses.aba", "financial_addresses.aba.forwarding", "inbound_transfers.ach", "intra_stripe_flows", "outbound_payments.ach", "outbound_payments.us_domestic_wire", "outbound_transfers.ach", "outbound_transfers.us_domestic_wire", "remote_deposit_capture"]>>>;
    readonly balance: Schema.Struct<{
        readonly cash: Schema.$Record<Schema.String, Schema.Number>;
        readonly inbound_pending: Schema.$Record<Schema.String, Schema.Number>;
        readonly outbound_pending: Schema.$Record<Schema.String, Schema.Number>;
    }>;
    readonly country: Schema.String;
    readonly created: Schema.Number;
    readonly features: Schema.optional<Schema.Struct<{
        readonly card_issuing: Schema.optional<Schema.Struct<{
            readonly requested: Schema.Boolean;
            readonly status: Schema.Literals<readonly ["active", "pending", "restricted"]>;
            readonly status_details: Schema.$Array<Schema.Struct<{
                readonly code: Schema.Literals<readonly ["activating", "capability_not_requested", "financial_account_closed", "rejected_other", "rejected_unsupported_business", "requirements_past_due", "requirements_pending_verification", "restricted_by_platform", "restricted_other"]>;
                readonly resolution: Schema.NullOr<Schema.Literals<readonly ["contact_stripe", "provide_information", "remove_restriction"]>>;
                readonly restriction: Schema.optional<Schema.Literals<readonly ["inbound_flows", "outbound_flows"]>>;
            }>>;
        }>>;
        readonly deposit_insurance: Schema.optional<Schema.Struct<{
            readonly requested: Schema.Boolean;
            readonly status: Schema.Literals<readonly ["active", "pending", "restricted"]>;
            readonly status_details: Schema.$Array<Schema.Struct<{
                readonly code: Schema.Literals<readonly ["activating", "capability_not_requested", "financial_account_closed", "rejected_other", "rejected_unsupported_business", "requirements_past_due", "requirements_pending_verification", "restricted_by_platform", "restricted_other"]>;
                readonly resolution: Schema.NullOr<Schema.Literals<readonly ["contact_stripe", "provide_information", "remove_restriction"]>>;
                readonly restriction: Schema.optional<Schema.Literals<readonly ["inbound_flows", "outbound_flows"]>>;
            }>>;
        }>>;
        readonly financial_addresses: Schema.optional<Schema.Struct<{
            readonly aba: Schema.optional<Schema.Struct<{
                readonly requested: Schema.Boolean;
                readonly status: Schema.Literals<readonly ["active", "pending", "restricted"]>;
                readonly status_details: Schema.$Array<Schema.Struct<{
                    readonly code: Schema.Literals<readonly ["activating", "capability_not_requested", "financial_account_closed", "rejected_other", "rejected_unsupported_business", "requirements_past_due", "requirements_pending_verification", "restricted_by_platform", "restricted_other"]>;
                    readonly resolution: Schema.NullOr<Schema.Literals<readonly ["contact_stripe", "provide_information", "remove_restriction"]>>;
                    readonly restriction: Schema.optional<Schema.Literals<readonly ["inbound_flows", "outbound_flows"]>>;
                }>>;
            }>>;
        }>>;
        readonly inbound_transfers: Schema.optional<Schema.Struct<{
            readonly ach: Schema.optional<Schema.Struct<{
                readonly requested: Schema.Boolean;
                readonly status: Schema.Literals<readonly ["active", "pending", "restricted"]>;
                readonly status_details: Schema.$Array<Schema.Struct<{
                    readonly code: Schema.Literals<readonly ["activating", "capability_not_requested", "financial_account_closed", "rejected_other", "rejected_unsupported_business", "requirements_past_due", "requirements_pending_verification", "restricted_by_platform", "restricted_other"]>;
                    readonly resolution: Schema.NullOr<Schema.Literals<readonly ["contact_stripe", "provide_information", "remove_restriction"]>>;
                    readonly restriction: Schema.optional<Schema.Literals<readonly ["inbound_flows", "outbound_flows"]>>;
                }>>;
            }>>;
        }>>;
        readonly intra_stripe_flows: Schema.optional<Schema.Struct<{
            readonly requested: Schema.Boolean;
            readonly status: Schema.Literals<readonly ["active", "pending", "restricted"]>;
            readonly status_details: Schema.$Array<Schema.Struct<{
                readonly code: Schema.Literals<readonly ["activating", "capability_not_requested", "financial_account_closed", "rejected_other", "rejected_unsupported_business", "requirements_past_due", "requirements_pending_verification", "restricted_by_platform", "restricted_other"]>;
                readonly resolution: Schema.NullOr<Schema.Literals<readonly ["contact_stripe", "provide_information", "remove_restriction"]>>;
                readonly restriction: Schema.optional<Schema.Literals<readonly ["inbound_flows", "outbound_flows"]>>;
            }>>;
        }>>;
        readonly object: Schema.Literals<readonly ["treasury.financial_account_features"]>;
        readonly outbound_payments: Schema.optional<Schema.Struct<{
            readonly ach: Schema.optional<Schema.Struct<{
                readonly requested: Schema.Boolean;
                readonly status: Schema.Literals<readonly ["active", "pending", "restricted"]>;
                readonly status_details: Schema.$Array<Schema.Struct<{
                    readonly code: Schema.Literals<readonly ["activating", "capability_not_requested", "financial_account_closed", "rejected_other", "rejected_unsupported_business", "requirements_past_due", "requirements_pending_verification", "restricted_by_platform", "restricted_other"]>;
                    readonly resolution: Schema.NullOr<Schema.Literals<readonly ["contact_stripe", "provide_information", "remove_restriction"]>>;
                    readonly restriction: Schema.optional<Schema.Literals<readonly ["inbound_flows", "outbound_flows"]>>;
                }>>;
            }>>;
            readonly us_domestic_wire: Schema.optional<Schema.Struct<{
                readonly requested: Schema.Boolean;
                readonly status: Schema.Literals<readonly ["active", "pending", "restricted"]>;
                readonly status_details: Schema.$Array<Schema.Struct<{
                    readonly code: Schema.Literals<readonly ["activating", "capability_not_requested", "financial_account_closed", "rejected_other", "rejected_unsupported_business", "requirements_past_due", "requirements_pending_verification", "restricted_by_platform", "restricted_other"]>;
                    readonly resolution: Schema.NullOr<Schema.Literals<readonly ["contact_stripe", "provide_information", "remove_restriction"]>>;
                    readonly restriction: Schema.optional<Schema.Literals<readonly ["inbound_flows", "outbound_flows"]>>;
                }>>;
            }>>;
        }>>;
        readonly outbound_transfers: Schema.optional<Schema.Struct<{
            readonly ach: Schema.optional<Schema.Struct<{
                readonly requested: Schema.Boolean;
                readonly status: Schema.Literals<readonly ["active", "pending", "restricted"]>;
                readonly status_details: Schema.$Array<Schema.Struct<{
                    readonly code: Schema.Literals<readonly ["activating", "capability_not_requested", "financial_account_closed", "rejected_other", "rejected_unsupported_business", "requirements_past_due", "requirements_pending_verification", "restricted_by_platform", "restricted_other"]>;
                    readonly resolution: Schema.NullOr<Schema.Literals<readonly ["contact_stripe", "provide_information", "remove_restriction"]>>;
                    readonly restriction: Schema.optional<Schema.Literals<readonly ["inbound_flows", "outbound_flows"]>>;
                }>>;
            }>>;
            readonly us_domestic_wire: Schema.optional<Schema.Struct<{
                readonly requested: Schema.Boolean;
                readonly status: Schema.Literals<readonly ["active", "pending", "restricted"]>;
                readonly status_details: Schema.$Array<Schema.Struct<{
                    readonly code: Schema.Literals<readonly ["activating", "capability_not_requested", "financial_account_closed", "rejected_other", "rejected_unsupported_business", "requirements_past_due", "requirements_pending_verification", "restricted_by_platform", "restricted_other"]>;
                    readonly resolution: Schema.NullOr<Schema.Literals<readonly ["contact_stripe", "provide_information", "remove_restriction"]>>;
                    readonly restriction: Schema.optional<Schema.Literals<readonly ["inbound_flows", "outbound_flows"]>>;
                }>>;
            }>>;
        }>>;
    }>>;
    readonly financial_addresses: Schema.$Array<Schema.Struct<{
        readonly aba: Schema.optional<Schema.Struct<{
            readonly account_holder_name: Schema.String;
            readonly account_number: Schema.optional<Schema.NullOr<Schema.String>>;
            readonly account_number_last4: Schema.String;
            readonly bank_name: Schema.String;
            readonly routing_number: Schema.String;
        }>>;
        readonly supported_networks: Schema.optional<Schema.$Array<Schema.Literals<readonly ["ach", "us_domestic_wire"]>>>;
        readonly type: Schema.Literals<readonly ["aba"]>;
    }>>;
    readonly id: Schema.String;
    readonly is_default: Schema.optional<Schema.Boolean>;
    readonly livemode: Schema.Boolean;
    readonly metadata: Schema.NullOr<Schema.$Record<Schema.String, Schema.String>>;
    readonly nickname: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly object: Schema.Literals<readonly ["treasury.financial_account"]>;
    readonly pending_features: Schema.optional<Schema.$Array<Schema.Literals<readonly ["card_issuing", "deposit_insurance", "financial_addresses.aba", "financial_addresses.aba.forwarding", "inbound_transfers.ach", "intra_stripe_flows", "outbound_payments.ach", "outbound_payments.us_domestic_wire", "outbound_transfers.ach", "outbound_transfers.us_domestic_wire", "remote_deposit_capture"]>>>;
    readonly platform_restrictions: Schema.optional<Schema.Unknown>;
    readonly restricted_features: Schema.optional<Schema.$Array<Schema.Literals<readonly ["card_issuing", "deposit_insurance", "financial_addresses.aba", "financial_addresses.aba.forwarding", "inbound_transfers.ach", "intra_stripe_flows", "outbound_payments.ach", "outbound_payments.us_domestic_wire", "outbound_transfers.ach", "outbound_transfers.us_domestic_wire", "remote_deposit_capture"]>>>;
    readonly status: Schema.Literals<readonly ["closed", "open"]>;
    readonly status_details: Schema.Struct<{
        readonly closed: Schema.Unknown;
    }>;
    readonly supported_currencies: Schema.$Array<Schema.String>;
}>;
export type PostTreasuryFinancialAccountsOutput = typeof PostTreasuryFinancialAccountsOutput.Type;
/**
 * Create a FinancialAccount
 *
 * <p>Creates a new FinancialAccount. Each connected account can have up to three FinancialAccounts by default.</p>
 */
export declare const PostTreasuryFinancialAccounts: import("@distilled.cloud/core/client").OperationMethod<{
    readonly expand?: readonly string[] | undefined;
    readonly features?: {
        readonly card_issuing?: {
            readonly requested: boolean;
        } | undefined;
        readonly deposit_insurance?: {
            readonly requested: boolean;
        } | undefined;
        readonly financial_addresses?: {
            readonly aba?: {
                readonly requested: boolean;
            } | undefined;
        } | undefined;
        readonly inbound_transfers?: {
            readonly ach?: {
                readonly requested: boolean;
            } | undefined;
        } | undefined;
        readonly intra_stripe_flows?: {
            readonly requested: boolean;
        } | undefined;
        readonly outbound_payments?: {
            readonly ach?: {
                readonly requested: boolean;
            } | undefined;
            readonly us_domestic_wire?: {
                readonly requested: boolean;
            } | undefined;
        } | undefined;
        readonly outbound_transfers?: {
            readonly ach?: {
                readonly requested: boolean;
            } | undefined;
            readonly us_domestic_wire?: {
                readonly requested: boolean;
            } | undefined;
        } | undefined;
    } | undefined;
    readonly metadata?: {
        readonly [x: string]: string;
    } | undefined;
    readonly nickname?: unknown;
    readonly platform_restrictions?: {
        readonly inbound_flows?: "restricted" | "unrestricted" | undefined;
        readonly outbound_flows?: "restricted" | "unrestricted" | undefined;
    } | undefined;
    readonly supported_currencies: readonly string[];
}, {
    readonly active_features?: readonly ("card_issuing" | "deposit_insurance" | "financial_addresses.aba" | "financial_addresses.aba.forwarding" | "inbound_transfers.ach" | "intra_stripe_flows" | "outbound_payments.ach" | "outbound_payments.us_domestic_wire" | "outbound_transfers.ach" | "outbound_transfers.us_domestic_wire" | "remote_deposit_capture")[] | undefined;
    readonly balance: {
        readonly cash: {
            readonly [x: string]: number;
        };
        readonly inbound_pending: {
            readonly [x: string]: number;
        };
        readonly outbound_pending: {
            readonly [x: string]: number;
        };
    };
    readonly country: string;
    readonly created: number;
    readonly features?: {
        readonly card_issuing?: {
            readonly requested: boolean;
            readonly status: "active" | "pending" | "restricted";
            readonly status_details: readonly {
                readonly code: "activating" | "capability_not_requested" | "financial_account_closed" | "rejected_other" | "rejected_unsupported_business" | "requirements_past_due" | "requirements_pending_verification" | "restricted_by_platform" | "restricted_other";
                readonly resolution: "contact_stripe" | "provide_information" | "remove_restriction" | null;
                readonly restriction?: "inbound_flows" | "outbound_flows" | undefined;
            }[];
        } | undefined;
        readonly deposit_insurance?: {
            readonly requested: boolean;
            readonly status: "active" | "pending" | "restricted";
            readonly status_details: readonly {
                readonly code: "activating" | "capability_not_requested" | "financial_account_closed" | "rejected_other" | "rejected_unsupported_business" | "requirements_past_due" | "requirements_pending_verification" | "restricted_by_platform" | "restricted_other";
                readonly resolution: "contact_stripe" | "provide_information" | "remove_restriction" | null;
                readonly restriction?: "inbound_flows" | "outbound_flows" | undefined;
            }[];
        } | undefined;
        readonly financial_addresses?: {
            readonly aba?: {
                readonly requested: boolean;
                readonly status: "active" | "pending" | "restricted";
                readonly status_details: readonly {
                    readonly code: "activating" | "capability_not_requested" | "financial_account_closed" | "rejected_other" | "rejected_unsupported_business" | "requirements_past_due" | "requirements_pending_verification" | "restricted_by_platform" | "restricted_other";
                    readonly resolution: "contact_stripe" | "provide_information" | "remove_restriction" | null;
                    readonly restriction?: "inbound_flows" | "outbound_flows" | undefined;
                }[];
            } | undefined;
        } | undefined;
        readonly inbound_transfers?: {
            readonly ach?: {
                readonly requested: boolean;
                readonly status: "active" | "pending" | "restricted";
                readonly status_details: readonly {
                    readonly code: "activating" | "capability_not_requested" | "financial_account_closed" | "rejected_other" | "rejected_unsupported_business" | "requirements_past_due" | "requirements_pending_verification" | "restricted_by_platform" | "restricted_other";
                    readonly resolution: "contact_stripe" | "provide_information" | "remove_restriction" | null;
                    readonly restriction?: "inbound_flows" | "outbound_flows" | undefined;
                }[];
            } | undefined;
        } | undefined;
        readonly intra_stripe_flows?: {
            readonly requested: boolean;
            readonly status: "active" | "pending" | "restricted";
            readonly status_details: readonly {
                readonly code: "activating" | "capability_not_requested" | "financial_account_closed" | "rejected_other" | "rejected_unsupported_business" | "requirements_past_due" | "requirements_pending_verification" | "restricted_by_platform" | "restricted_other";
                readonly resolution: "contact_stripe" | "provide_information" | "remove_restriction" | null;
                readonly restriction?: "inbound_flows" | "outbound_flows" | undefined;
            }[];
        } | undefined;
        readonly object: "treasury.financial_account_features";
        readonly outbound_payments?: {
            readonly ach?: {
                readonly requested: boolean;
                readonly status: "active" | "pending" | "restricted";
                readonly status_details: readonly {
                    readonly code: "activating" | "capability_not_requested" | "financial_account_closed" | "rejected_other" | "rejected_unsupported_business" | "requirements_past_due" | "requirements_pending_verification" | "restricted_by_platform" | "restricted_other";
                    readonly resolution: "contact_stripe" | "provide_information" | "remove_restriction" | null;
                    readonly restriction?: "inbound_flows" | "outbound_flows" | undefined;
                }[];
            } | undefined;
            readonly us_domestic_wire?: {
                readonly requested: boolean;
                readonly status: "active" | "pending" | "restricted";
                readonly status_details: readonly {
                    readonly code: "activating" | "capability_not_requested" | "financial_account_closed" | "rejected_other" | "rejected_unsupported_business" | "requirements_past_due" | "requirements_pending_verification" | "restricted_by_platform" | "restricted_other";
                    readonly resolution: "contact_stripe" | "provide_information" | "remove_restriction" | null;
                    readonly restriction?: "inbound_flows" | "outbound_flows" | undefined;
                }[];
            } | undefined;
        } | undefined;
        readonly outbound_transfers?: {
            readonly ach?: {
                readonly requested: boolean;
                readonly status: "active" | "pending" | "restricted";
                readonly status_details: readonly {
                    readonly code: "activating" | "capability_not_requested" | "financial_account_closed" | "rejected_other" | "rejected_unsupported_business" | "requirements_past_due" | "requirements_pending_verification" | "restricted_by_platform" | "restricted_other";
                    readonly resolution: "contact_stripe" | "provide_information" | "remove_restriction" | null;
                    readonly restriction?: "inbound_flows" | "outbound_flows" | undefined;
                }[];
            } | undefined;
            readonly us_domestic_wire?: {
                readonly requested: boolean;
                readonly status: "active" | "pending" | "restricted";
                readonly status_details: readonly {
                    readonly code: "activating" | "capability_not_requested" | "financial_account_closed" | "rejected_other" | "rejected_unsupported_business" | "requirements_past_due" | "requirements_pending_verification" | "restricted_by_platform" | "restricted_other";
                    readonly resolution: "contact_stripe" | "provide_information" | "remove_restriction" | null;
                    readonly restriction?: "inbound_flows" | "outbound_flows" | undefined;
                }[];
            } | undefined;
        } | undefined;
    } | undefined;
    readonly financial_addresses: readonly {
        readonly aba?: {
            readonly account_holder_name: string;
            readonly account_number?: string | null | undefined;
            readonly account_number_last4: string;
            readonly bank_name: string;
            readonly routing_number: string;
        } | undefined;
        readonly supported_networks?: readonly ("ach" | "us_domestic_wire")[] | undefined;
        readonly type: "aba";
    }[];
    readonly id: string;
    readonly is_default?: boolean | undefined;
    readonly livemode: boolean;
    readonly metadata: {
        readonly [x: string]: string;
    } | null;
    readonly nickname?: string | null | undefined;
    readonly object: "treasury.financial_account";
    readonly pending_features?: readonly ("card_issuing" | "deposit_insurance" | "financial_addresses.aba" | "financial_addresses.aba.forwarding" | "inbound_transfers.ach" | "intra_stripe_flows" | "outbound_payments.ach" | "outbound_payments.us_domestic_wire" | "outbound_transfers.ach" | "outbound_transfers.us_domestic_wire" | "remote_deposit_capture")[] | undefined;
    readonly platform_restrictions?: unknown;
    readonly restricted_features?: readonly ("card_issuing" | "deposit_insurance" | "financial_addresses.aba" | "financial_addresses.aba.forwarding" | "inbound_transfers.ach" | "intra_stripe_flows" | "outbound_payments.ach" | "outbound_payments.us_domestic_wire" | "outbound_transfers.ach" | "outbound_transfers.us_domestic_wire" | "remote_deposit_capture")[] | undefined;
    readonly status: "closed" | "open";
    readonly status_details: {
        readonly closed: unknown;
    };
    readonly supported_currencies: readonly string[];
}, never, import("../credentials.ts").Credentials>;
//# sourceMappingURL=PostTreasuryFinancialAccounts.d.ts.map