/**
 * checkout.ts — detect whether `olam ask` is running inside an olam checkout.
 *
 * When inside a checkout, the SDK is granted read-only filesystem tools (cwd =
 * repo root) so it can pull live repo files for fresher answers. Outside a
 * checkout (npx install), the bundled knowledge pack is the only grounding.
 *
 * Detection walks up from the start dir looking for an olam-shaped repo root:
 * a directory containing BOTH `packages/host-cp` and `docs/architecture`.
 * Both markers together avoid false positives on unrelated monorepos that
 * merely have a `packages/` dir.
 */
/**
 * Walk up from `startDir` (default cwd) to the filesystem root, returning the
 * first olam repo root found, or `null` when none. Pure relative to the
 * injected `startDir`; uses real `existsSync` for the marker checks.
 */
export declare function findOlamCheckoutRoot(startDir?: string): string | null;
//# sourceMappingURL=checkout.d.ts.map