export type HarnessPair = {
    ajsPath: string;
    mdPath: string;
    basename: string;
};
export type HarnessFs = {
    readdir?(path: string, options?: {
        withFileTypes?: boolean;
    }): Promise<Array<string | {
        name: string;
        isDirectory(): boolean;
    }>>;
    stat(path: string): Promise<{
        isFile(): boolean;
        isDirectory?(): boolean;
    }>;
};
type HarnessPairSide = "ajs" | "md";
export declare class MissingPairError extends Error {
    readonly side: HarnessPairSide;
    readonly path: string;
    constructor(side: HarnessPairSide, path: string);
}
export declare class InvalidPairExtensionError extends Error {
    readonly extension: string;
    readonly path: string;
    constructor(path: string, extension: string);
}
export declare function resolvePair(inputPath: string, fs?: HarnessFs): Promise<HarnessPair>;
export {};
