import { IProtocol } from '../../protocols/interfaces/IProtocol'; import { z } from 'zod'; /** * @name IPoolId * @description Represents a pool's ID. This will be specialized for each protocol * * It is a way to retrieve a pool from the protocol and it should include all the necessary information * to uniquely identify a pool */ export interface IPoolId extends IPoolIdData { /** Protocol where the pool is */ readonly protocol: IProtocol; } /** * @description Zod schema for IPoolId */ export declare const PoolIdDataSchema: z.ZodObject<{ protocol: z.ZodObject<{ name: z.ZodNativeEnum; chainInfo: z.ZodObject<{ /** * @description Type guard for IPoolId * @param maybePoolId * @returns true if the object is an IPoolId */ chainId: z.ZodNumber; name: z.ZodString; }, "strip", z.ZodTypeAny, { chainId: number; name: string; }, { chainId: number; name: string; }>; }, "strip", z.ZodTypeAny, { name: import("..").ProtocolName; chainInfo: { chainId: number; name: string; }; }, { name: import("..").ProtocolName; chainInfo: { chainId: number; name: string; }; }>; }, "strip", z.ZodTypeAny, { protocol: { name: import("..").ProtocolName; chainInfo: { chainId: number; name: string; }; }; }, { protocol: { name: import("..").ProtocolName; chainInfo: { chainId: number; name: string; }; }; }>; /** * Type for the data part of the IPoolId interface */ export type IPoolIdData = Readonly>; /** * @description Type guard for IPoolId * @param maybePoolId * @returns true if the object is an IPoolId */ export declare function isPoolId(maybePoolId: unknown): maybePoolId is IPoolId; //# sourceMappingURL=IPoolId.d.ts.map