import InternalResult from './InternalResult';
/**
 * The file where configuration was found.
 */
export interface ResultFile {
    name: string;
    extends: ResultFile[];
}
/**
 * The result of the configuration load/search.
 */
export default interface ConfinodeResult<T> extends InternalResult<T> {
    readonly files: ResultFile;
}
/**
 * Create a full result based on a sub-result.
 *
 * @param realResult - The real result.
 * @param files - The files in which results where found.
 * @returns The full result.
 */
export declare function buildResult<T>(realResult: InternalResult<T>, files: ResultFile): ConfinodeResult<T>;
