UNPKG

@struktoai/mirage-core

Version:

A Unified Virtual Filesystem For AI Agents

11 lines • 869 B
import type { CrossResult, RunSingle } from './types.ts'; import type { FlagValue } from '../../../spec/types.ts'; import { type ByteSource } from '../../../../io/types.ts'; import type { DispatchFn } from '../../../../runtime/types.ts'; import { PathSpec } from '../../../../types.ts'; import type { Files } from '../../../../workspace/files.ts'; /** Compose registered search handlers in operand order. Global walk modes * use its metadata walker, then delegate each selected file. Content * always stays with the registered handler. */ export declare function runSearch(name: string, paths: readonly PathSpec[], texts: readonly string[], bag: Record<string, FlagValue>, dispatch: DispatchFn, runSingle: RunSingle, cwd: string, vfs?: Files, stdin?: ByteSource | null, utf8?: boolean, signal?: AbortSignal): Promise<CrossResult>; //# sourceMappingURL=search.d.ts.map