import { type AgentAccessUrlOptions } from "./agent-access.js"; export declare const AGENT_READABLE_RESOURCE_SCRIPT_TYPE = "application/agent-native+json"; export declare const AGENT_READABLE_RESOURCE_PAYLOAD_TYPE = "agent-native.resource.discovery"; export interface AgentReadableResourceDiscovery { type: typeof AGENT_READABLE_RESOURCE_PAYLOAD_TYPE; resourceType: string; resourceId: string; title?: string; url?: string; contextUrl: string; expiresAt?: string; instructions?: string; } export interface BuildAgentReadableResourceDiscoveryOptions extends AgentAccessUrlOptions { resourceType: string; resourceId: string; title?: string | null; path?: string | null; contextEndpoint: string; token?: string | null; expiresAt?: string | null; instructions?: string | null; } export declare function safeJsonForHtml(value: unknown): string; export declare function buildAgentReadableResourceDiscovery({ resourceType, resourceId, title, path, contextEndpoint, token, expiresAt, instructions, origin, basePath, tokenParam, }: BuildAgentReadableResourceDiscoveryOptions): AgentReadableResourceDiscovery; export declare function renderAgentReadableResourceDiscoveryScript(discovery: AgentReadableResourceDiscovery, options?: { id?: string; }): string; //# sourceMappingURL=agent-readable-resource.d.ts.map