/// <reference types="node" />
export interface FileLoaderOptions {
    stringLoader?(filename: string, options?: {
        root?: string;
        encode?: string;
    }): Promise<string>;
    loader?(filename: string, options?: {
        root?: string;
    }): Promise<Buffer>;
}
export declare const FILE_LOADER: import("../node_modules/@bonbons/di/node_modules/@bonbons/contracts/dist/src/di").BonbonsToken<FileLoaderOptions>;
declare function defaultStringFileLoader(filename: string, { root, encode }?: {
    root?: any;
    encode?: string;
}): Promise<string>;
declare function defaultFileLoader(filename: string, { root }?: {
    root?: any;
}): Promise<Buffer>;
export declare const defaultFileLoaderOptions: {
    loader: typeof defaultFileLoader;
    stringLoader: typeof defaultStringFileLoader;
};
export {};
