@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
20 lines • 989 B
TypeScript
import type { JaegerAccessor } from '../../accessor/jaeger.ts';
import type { ScopeMatch } from '../hierarchy/scope.ts';
/**
* Throw ENOENT unless the service is known to Jaeger.
*
* The operations endpoint answers 200 with an empty list for a service that
* was never seen, so an unknown service would otherwise look like an empty
* directory instead of a missing one.
*/
export declare function assertService(accessor: JaegerAccessor, service: string, virtual: string): Promise<void>;
export declare function serviceGuard(accessor: JaegerAccessor, match: ScopeMatch, virtual: string): Promise<void>;
declare function serviceExtra(match: ScopeMatch): Record<string, string>;
declare function traceExtra(match: ScopeMatch): Record<string, string>;
export declare const EXTRAS: {
service: typeof serviceExtra;
trace: typeof traceExtra;
};
export declare const readdir: import("../hierarchy/probe.ts").ReaddirFn<JaegerAccessor>;
export {};
//# sourceMappingURL=readdir.d.ts.map