import type { LocatorInfo } from '../locator';
import type { Loader, Rule } from './type';
export declare function registerLoader(rule: Rule): void;
export declare function registerLoader(test: string[] | RegExp, loader: Loader): void;
export declare function load(input: LocatorInfo | string): Promise<any>;
export declare function loadSync(input: LocatorInfo | string): any;
