/** One learnings ledger found somewhere other than the configured path. */
export interface StrayLearningsLedger {
    /** Project-relative posix path to the stray file. */
    readonly path: string;
    /**
     * Entries currently stranded in the stray, or undefined when the file is not
     * in the contract's format (so a count cannot be claimed honestly).
     */
    readonly entryCount: number | undefined;
}
/** Result of scanning one project for stray ledgers. */
export interface StrayLearningsScan {
    /** The configured (canonical) ledger path — never reported as a stray. */
    readonly canonicalFile: string;
    /** Every stray found, sorted by path for deterministic reporting. */
    readonly strays: readonly StrayLearningsLedger[];
}
/**
 * Scan a project for learnings ledgers outside its configured path.
 * @param projectRoot - Absolute path to the host project root
 * @returns The canonical path plus every stray ledger found
 */
export declare function findStrayLearningsLedgers(projectRoot: string): Promise<StrayLearningsScan>;
//# sourceMappingURL=learnings-stray-ledger.d.ts.map