import type { Chain } from 'viem'; import type * as Auth from '../../internal/Auth.js'; import * as Tidx from '../../internal/Tidx.js'; import * as Viem from '../../internal/Viem.js'; /** Returns configured and routable Zones that an API key may read. */ export declare function readableChainIds(options: readableChainIds.Options): readonly number[]; export declare namespace readableChainIds { /** Inputs for resolving the readable inferred-Zone set. */ type Options = { /** Parent Tempo chain whose Zones may be selected. */ parentChainId: Viem.ChainId; /** Authenticated API-key principal selecting Zones. */ principal: Extract; /** RPC configuration used to exclude unroutable Zones. */ rpc?: Viem.getClient.Rpc | undefined; /** TIDX configuration used to exclude unroutable Zones. */ tidx?: Tidx.getClient.Tidx | undefined; /** Hosted Zone metadata keyed by chain id. */ zones: ReadonlyMap; }; } /** Resolves chain receipt probes without treating partial upstream results as complete. */ export declare function uniqueMatch(probes: readonly uniqueMatch.Probe[]): uniqueMatch.Result; export declare namespace uniqueMatch { /** One completed chain lookup. */ type Probe = { /** Chain that completed the lookup. */ chainId: number; /** Matching value, or null when the chain did not contain the resource. */ value: value | null; } | { /** Upstream failure from this chain. */ cause: unknown; /** Chain that failed the lookup. */ chainId: number; }; /** Unique-match decision across every requested chain. */ type Result = { /** Chain containing the unique match. */ chainId: number; /** Unique match result. */ kind: 'selected'; /** Value found in the selected Zone. */ value: value; } | { /** Every failed Zone lookup. */ failures: readonly Extract, { cause: unknown; }>[]; /** Partial failure result. */ kind: 'failed'; } | { /** Ambiguous match result. */ kind: 'ambiguous'; } | { /** No-match result. */ kind: 'not_found'; }; } //# sourceMappingURL=ZoneSelection.d.ts.map