import { type ResourceLinkSpec, type ToolContext } from "mcp-server-framework"; export type ResourceCategory = "info" | "inspect" | "logs" | "compose"; export type ResourceLinkContext = Pick; export interface RegisterResourceOptions { readonly ctx: ResourceLinkContext; readonly category: ResourceCategory; readonly name: string; readonly mimeType: string; readonly content: string | Uint8Array; readonly ttlMs: number; readonly inlineFull?: boolean | undefined; readonly description?: string; } export declare function tryRegisterResource(opts: RegisterResourceOptions): ResourceLinkSpec | null;