import * as Schema from "effect/Schema";
export declare const GetAccountsAccountPersonsInput: Schema.Struct<{
    readonly account: Schema.String;
    readonly ending_before: Schema.optional<Schema.String>;
    readonly expand: Schema.optional<Schema.String>;
    readonly limit: Schema.optional<Schema.Number>;
    readonly relationship: Schema.optional<Schema.String>;
    readonly starting_after: Schema.optional<Schema.String>;
}>;
export type GetAccountsAccountPersonsInput = typeof GetAccountsAccountPersonsInput.Type;
export declare const GetAccountsAccountPersonsOutput: Schema.Struct<{
    readonly data: Schema.$Array<Schema.Struct<{
        readonly account: Schema.optional<Schema.String>;
        readonly additional_tos_acceptances: Schema.optional<Schema.Struct<{
            readonly account: Schema.Unknown;
        }>>;
        readonly address: Schema.optional<Schema.Struct<{
            readonly city: Schema.NullOr<Schema.String>;
            readonly country: Schema.NullOr<Schema.String>;
            readonly line1: Schema.NullOr<Schema.String>;
            readonly line2: Schema.NullOr<Schema.String>;
            readonly postal_code: Schema.NullOr<Schema.String>;
            readonly state: Schema.NullOr<Schema.String>;
        }>>;
        readonly address_kana: Schema.optional<Schema.Unknown>;
        readonly address_kanji: Schema.optional<Schema.Unknown>;
        readonly created: Schema.Number;
        readonly dob: Schema.optional<Schema.Struct<{
            readonly day: Schema.NullOr<Schema.Number>;
            readonly month: Schema.NullOr<Schema.Number>;
            readonly year: Schema.NullOr<Schema.Number>;
        }>>;
        readonly email: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly first_name: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly first_name_kana: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly first_name_kanji: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly full_name_aliases: Schema.optional<Schema.$Array<Schema.String>>;
        readonly future_requirements: Schema.optional<Schema.Unknown>;
        readonly gender: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly id: Schema.String;
        readonly id_number_provided: Schema.optional<Schema.Boolean>;
        readonly id_number_secondary_provided: Schema.optional<Schema.Boolean>;
        readonly last_name: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly last_name_kana: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly last_name_kanji: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly maiden_name: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
        readonly nationality: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly object: Schema.Literals<readonly ["person"]>;
        readonly phone: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly political_exposure: Schema.optional<Schema.Literals<readonly ["existing", "none"]>>;
        readonly registered_address: Schema.optional<Schema.Struct<{
            readonly city: Schema.NullOr<Schema.String>;
            readonly country: Schema.NullOr<Schema.String>;
            readonly line1: Schema.NullOr<Schema.String>;
            readonly line2: Schema.NullOr<Schema.String>;
            readonly postal_code: Schema.NullOr<Schema.String>;
            readonly state: Schema.NullOr<Schema.String>;
        }>>;
        readonly relationship: Schema.optional<Schema.Struct<{
            readonly authorizer: Schema.NullOr<Schema.Boolean>;
            readonly director: Schema.NullOr<Schema.Boolean>;
            readonly executive: Schema.NullOr<Schema.Boolean>;
            readonly legal_guardian: Schema.NullOr<Schema.Boolean>;
            readonly owner: Schema.NullOr<Schema.Boolean>;
            readonly percent_ownership: Schema.NullOr<Schema.Number>;
            readonly representative: Schema.NullOr<Schema.Boolean>;
            readonly title: Schema.NullOr<Schema.String>;
        }>>;
        readonly requirements: Schema.optional<Schema.Unknown>;
        readonly ssn_last_4_provided: Schema.optional<Schema.Boolean>;
        readonly us_cfpb_data: Schema.optional<Schema.Unknown>;
        readonly verification: Schema.optional<Schema.Struct<{
            readonly additional_document: Schema.optional<Schema.Unknown>;
            readonly details: Schema.optional<Schema.NullOr<Schema.String>>;
            readonly details_code: Schema.optional<Schema.NullOr<Schema.String>>;
            readonly document: Schema.optional<Schema.Struct<{
                readonly back: Schema.Unknown;
                readonly details: Schema.NullOr<Schema.String>;
                readonly details_code: Schema.NullOr<Schema.String>;
                readonly front: Schema.Unknown;
            }>>;
            readonly status: Schema.String;
        }>>;
    }>>;
    readonly has_more: Schema.Boolean;
    readonly object: Schema.Literals<readonly ["list"]>;
    readonly url: Schema.String;
}>;
export type GetAccountsAccountPersonsOutput = typeof GetAccountsAccountPersonsOutput.Type;
/**
 * List all persons
 *
 * <p>Returns a list of people associated with the account’s legal entity. The people are returned sorted by creation date, with the most recent people appearing first.</p>
 *
 * @param ending_before - A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
 * @param expand - Specifies which fields in the response should be expanded.
 * @param limit - A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
 * @param relationship - Filters on the list of people returned based on the person's relationship to the account's company.
 * @param starting_after - A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
 */
export declare const GetAccountsAccountPersons: import("@distilled.cloud/core/client").OperationMethod<{
    readonly account: string;
    readonly ending_before?: string | undefined;
    readonly expand?: string | undefined;
    readonly limit?: number | undefined;
    readonly relationship?: string | undefined;
    readonly starting_after?: string | undefined;
}, {
    readonly data: readonly {
        readonly account?: string | undefined;
        readonly additional_tos_acceptances?: {
            readonly account: unknown;
        } | undefined;
        readonly address?: {
            readonly city: string | null;
            readonly country: string | null;
            readonly line1: string | null;
            readonly line2: string | null;
            readonly postal_code: string | null;
            readonly state: string | null;
        } | undefined;
        readonly address_kana?: unknown;
        readonly address_kanji?: unknown;
        readonly created: number;
        readonly dob?: {
            readonly day: number | null;
            readonly month: number | null;
            readonly year: number | null;
        } | undefined;
        readonly email?: string | null | undefined;
        readonly first_name?: string | null | undefined;
        readonly first_name_kana?: string | null | undefined;
        readonly first_name_kanji?: string | null | undefined;
        readonly full_name_aliases?: readonly string[] | undefined;
        readonly future_requirements?: unknown;
        readonly gender?: string | null | undefined;
        readonly id: string;
        readonly id_number_provided?: boolean | undefined;
        readonly id_number_secondary_provided?: boolean | undefined;
        readonly last_name?: string | null | undefined;
        readonly last_name_kana?: string | null | undefined;
        readonly last_name_kanji?: string | null | undefined;
        readonly maiden_name?: string | null | undefined;
        readonly metadata?: {
            readonly [x: string]: string;
        } | undefined;
        readonly nationality?: string | null | undefined;
        readonly object: "person";
        readonly phone?: string | null | undefined;
        readonly political_exposure?: "existing" | "none" | undefined;
        readonly registered_address?: {
            readonly city: string | null;
            readonly country: string | null;
            readonly line1: string | null;
            readonly line2: string | null;
            readonly postal_code: string | null;
            readonly state: string | null;
        } | undefined;
        readonly relationship?: {
            readonly authorizer: boolean | null;
            readonly director: boolean | null;
            readonly executive: boolean | null;
            readonly legal_guardian: boolean | null;
            readonly owner: boolean | null;
            readonly percent_ownership: number | null;
            readonly representative: boolean | null;
            readonly title: string | null;
        } | undefined;
        readonly requirements?: unknown;
        readonly ssn_last_4_provided?: boolean | undefined;
        readonly us_cfpb_data?: unknown;
        readonly verification?: {
            readonly additional_document?: unknown;
            readonly details?: string | null | undefined;
            readonly details_code?: string | null | undefined;
            readonly document?: {
                readonly back: unknown;
                readonly details: string | null;
                readonly details_code: string | null;
                readonly front: unknown;
            } | undefined;
            readonly status: string;
        } | undefined;
    }[];
    readonly has_more: boolean;
    readonly object: "list";
    readonly url: string;
}, never, import("../credentials.ts").Credentials>;
//# sourceMappingURL=GetAccountsAccountPersons.d.ts.map