import { type EnsAgentCanonicalPayload, type EnsAgentMetadataRecord, type EnsAgentRegistrationEntry, type EnsAgentServicesPayload } from '@agentic-trust/agentic-trust-sdk'; import { type Address } from 'viem'; export type EnsAgentKbServiceEndpointProjection = { name: string; protocol: { protocol: string; serviceUrl: string; protocolVersion?: string | null; descriptor?: { name?: string | null; description?: string | null; image?: string | null; agentCardJson?: string | null; } | null; metadata?: Record | null; }; }; export type EnsAgentKbProjection = { kind: 'ens'; chainId: number; ensName: string; didEns: string; descriptor: { kind: 'ens'; name?: string | null; description?: string | null; image?: string | null; registrationJson: string | null; nftMetadataJson: string | null; registeredBy?: string | null; registryNamespace: 'ens'; skills: string[]; domains: string[]; }; serviceEndpoints: EnsAgentKbServiceEndpointProjection[]; lifted: { agentUri?: string | null; description?: string | null; image?: string | null; supportedTrust: string[]; active?: boolean | null; x402support?: boolean | null; a2aEndpoint?: string | null; mcpEndpoint?: string | null; webEndpoint?: string | null; agentWallet?: string | null; name?: string | null; }; raw: { metadata: EnsAgentMetadataRecord; textRecords: Record; payloads: { agentDocument: unknown | null; services: unknown | null; registrations: unknown | null; }; }; }; export declare function getEnsAgentMetadataBundle(params: { ensName: string; chainId: number; }): Promise<{ ensName: string; chainId: number; resolver: Address | null; metadata: EnsAgentMetadataRecord; rawProperties: Record; payloads: { agentDocument: unknown | null; services: unknown | null; registrations: unknown | null; }; }>; export declare function getEnsAgentKnowledgeBaseProjection(params: { ensName: string; chainId: number; }): Promise; export declare function prepareEnsAgentMetadataUpdate(params: { ensName: string; chainId: number; metadata: Partial; servicesPayload?: EnsAgentServicesPayload | null; registrationsPayload?: EnsAgentRegistrationEntry[] | null; agentDocument?: EnsAgentCanonicalPayload | Record | null; autoBuildAgentDocument?: boolean; }): Promise<{ ensName: string; chainId: number; resolver: Address; current: EnsAgentMetadataRecord; desired: Record; delta: { changes: Record; deleted: string[]; }; uploaded: { services?: string; registrations?: string; agentUri?: string; }; calls: Array<{ to: Address; data: `0x${string}`; value: string; }>; }>; //# sourceMappingURL=ensMetadata.d.ts.map