import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Account, Account$Outbound } from "./account.js"; /** * The response to list Accounts. */ export type ListAccountsResponse = { /** * The list of available accounts */ accounts?: Array | undefined; /** * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */ nextPageToken?: string | undefined; /** * The total number of accounts in the response. This is an estimate and may be more than the number of accounts in this response if the user is not authorized to view all accounts. */ totalSize?: string | undefined; }; /** @internal */ export declare const ListAccountsResponse$inboundSchema: z.ZodType; /** @internal */ export type ListAccountsResponse$Outbound = { accounts?: Array | undefined; next_page_token?: string | undefined; total_size?: string | undefined; }; /** @internal */ export declare const ListAccountsResponse$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace ListAccountsResponse$ { /** @deprecated use `ListAccountsResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ListAccountsResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ListAccountsResponse$Outbound` instead. */ type Outbound = ListAccountsResponse$Outbound; } export declare function listAccountsResponseToJSON(listAccountsResponse: ListAccountsResponse): string; export declare function listAccountsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=listaccountsresponse.d.ts.map