import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import * as models from "../index.js"; export declare const ListApiV2LedgersGetSortBy: { readonly LedgerCanisterId: "ledger_canister_id"; readonly MinusLedgerCanisterId: "-ledger_canister_id"; readonly Icrc1Name: "icrc1_name"; readonly MinusIcrc1Name: "-icrc1_name"; readonly Icrc1Symbol: "icrc1_symbol"; readonly MinusIcrc1Symbol: "-icrc1_symbol"; readonly TotalTransactionsCountOverPast7d: "total_transactions_count_over_past_7d"; readonly MinusTotalTransactionsCountOverPast7d: "-total_transactions_count_over_past_7d"; readonly UniqueOwnersCount: "unique_owners_count"; readonly MinusUniqueOwnersCount: "-unique_owners_count"; }; export type ListApiV2LedgersGetSortBy = ClosedEnum; export type ListApiV2LedgersGetRequest = { /** * Only match values after this ledger_canister_id */ after?: Array | undefined; /** * Only match values before this ledger_canister_id */ before?: Array | undefined; network?: Array | undefined; tokenTypes?: Array | undefined; limit?: number | undefined; sortBy?: ListApiV2LedgersGetSortBy | undefined; includeTotalSupply7d?: boolean | undefined; /** * Search for a ledger by name or symbol */ query?: string | undefined; }; /** @internal */ export declare const ListApiV2LedgersGetSortBy$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ListApiV2LedgersGetSortBy$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace ListApiV2LedgersGetSortBy$ { /** @deprecated use `ListApiV2LedgersGetSortBy$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly LedgerCanisterId: "ledger_canister_id"; readonly MinusLedgerCanisterId: "-ledger_canister_id"; readonly Icrc1Name: "icrc1_name"; readonly MinusIcrc1Name: "-icrc1_name"; readonly Icrc1Symbol: "icrc1_symbol"; readonly MinusIcrc1Symbol: "-icrc1_symbol"; readonly TotalTransactionsCountOverPast7d: "total_transactions_count_over_past_7d"; readonly MinusTotalTransactionsCountOverPast7d: "-total_transactions_count_over_past_7d"; readonly UniqueOwnersCount: "unique_owners_count"; readonly MinusUniqueOwnersCount: "-unique_owners_count"; }>; /** @deprecated use `ListApiV2LedgersGetSortBy$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly LedgerCanisterId: "ledger_canister_id"; readonly MinusLedgerCanisterId: "-ledger_canister_id"; readonly Icrc1Name: "icrc1_name"; readonly MinusIcrc1Name: "-icrc1_name"; readonly Icrc1Symbol: "icrc1_symbol"; readonly MinusIcrc1Symbol: "-icrc1_symbol"; readonly TotalTransactionsCountOverPast7d: "total_transactions_count_over_past_7d"; readonly MinusTotalTransactionsCountOverPast7d: "-total_transactions_count_over_past_7d"; readonly UniqueOwnersCount: "unique_owners_count"; readonly MinusUniqueOwnersCount: "-unique_owners_count"; }>; } /** @internal */ export declare const ListApiV2LedgersGetRequest$inboundSchema: z.ZodType; /** @internal */ export type ListApiV2LedgersGetRequest$Outbound = { after?: Array | undefined; before?: Array | undefined; network?: Array | undefined; token_types?: Array | undefined; limit: number; sort_by: string; include_total_supply_7d: boolean; query?: string | undefined; }; /** @internal */ export declare const ListApiV2LedgersGetRequest$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 ListApiV2LedgersGetRequest$ { /** @deprecated use `ListApiV2LedgersGetRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ListApiV2LedgersGetRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ListApiV2LedgersGetRequest$Outbound` instead. */ type Outbound = ListApiV2LedgersGetRequest$Outbound; } export declare function listApiV2LedgersGetRequestToJSON(listApiV2LedgersGetRequest: ListApiV2LedgersGetRequest): string; export declare function listApiV2LedgersGetRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=listapiv2ledgersget.d.ts.map