import type { Sablier } from "sablier"; import type * as enums from "./enums.js"; export type Indexer = { chainId: number; explorerURL?: string; endpoint: { id?: string; url: string; }; kind: "custom" | "official"; indexer: Indexer.IndexerKey; name: string; testingURL?: string; vendor: Indexer.Vendor; }; export declare namespace Indexer { type EnvioConfig = { chainId: number; hypersyncURL?: string; }; type EnvioDeployment = { converterURL: string; createdOn?: number; endpoint: { id: string; url: string; }; explorerURL: string; indexer: Indexer.IndexerKey; usedUntil?: number; }; type GraphConfig = { chainId: number; }; type Target = "airdrops" | "streams" | "analytics"; type IndexerKey = "airdrops" | "streams"; type GraphTarget = Exclude; type Protocol = Exclude; type Vendor = `${enums.Vendor}` | enums.Vendor; } export declare namespace Model { type ComponentMap = { [contractName: string]: { [version: string]: T; }; }; type Contract = Sablier.Contract & { alias: string; block: number; version: Sablier.Version; }; type ContractSource = { name: string; isTemplate: boolean; versions: V[]; }; type Event = { contractName: string; eventName: string; indexers: Indexer.Target[]; protocol: Indexer.Protocol; version: Version; }; type EventMap = ComponentMap; type ProtocolMap = { [protocol in Indexer.Protocol]: T; }; type Version = Sablier.Version.Airdrops | Sablier.Version.Flow | Sablier.Version.Lockup; } //# sourceMappingURL=types.d.ts.map