import type { DirectoryLoadResult, LoadDirectoryOptions } from './types.js'; /** * Read a conventional agent directory into typed, inspectable definitions. * * A LOADER, not a runner: it produces what is there and hands it back. Running * it — a turn, a server, a schedule — is the host's job, which is what keeps * this package free of any hosting model. * * It never throws on authored content. A broken tool, a missing file, a * malformed config all come back as diagnostics, because a loader that throws * on the first bad file tells you about one problem when you wanted the list. */ export declare function loadDirectory(dir: string, options?: LoadDirectoryOptions): Promise; //# sourceMappingURL=load.d.ts.map