/** * Memory Journal MCP Server - Resource Handlers * * Barrel file composing resource definitions from sub-modules. * Exports all MCP resources with annotations following MCP 2025-11-25 spec. */ import type { VectorSearchManager } from '../../vector/vector-search-manager/index.js'; import type { ToolFilterConfig } from '../../filtering/tool-filter.js'; import type { GitHubIntegration } from '../../github/github-integration/index.js'; import type { Scheduler } from '../../server/scheduler.js'; import type { IDatabaseAdapter } from '../../database/core/interfaces.js'; import type { BriefingConfig } from './shared.js'; import type { ServerRuntime } from '../../utils/maintenance-lock.js'; export type { ResourceContext, ResourceResult, InternalResourceDef } from './shared.js'; /** * Get all resource definitions for MCP list */ export declare function getResources(): object[]; /** * Extract base URI without query parameters for matching */ export declare function getBaseUri(uri: string): string; /** * Read a resource by URI - returns data and optional annotations */ export declare function readResource(uri: string, db: IDatabaseAdapter, vectorManager?: VectorSearchManager, filterConfig?: ToolFilterConfig | null, github?: GitHubIntegration | null, scheduler?: Scheduler | null, teamDb?: IDatabaseAdapter, briefingConfig?: BriefingConfig, runtime?: ServerRuntime): Promise<{ data: unknown; annotations?: { lastModified?: string; }; }>; /** * Validates whether the current request is authorized to subscribe to a resource. * Throws an error if the URI is not found or the user lacks the required scope. */ export declare function validateResourceSubscription(uri: string, runtime?: ServerRuntime): void; //# sourceMappingURL=index.d.ts.map