export default loadjs; /** * Initiate script load and register bundle. * @param {(string|string[])} paths - The file paths * @param {(string|Function|Object)} [arg1] - The (1) bundleId or (2) success * callback or (3) object literal with success/error arguments, numRetries, * etc. * @param {(Function|Object)} [arg2] - The (1) success callback or (2) object * literal with success/error arguments, numRetries, etc. */ declare function loadjs(paths: (string | string[]), arg1?: (string | Function | any), arg2?: (Function | any)): any; declare namespace loadjs { /** * Execute callbacks when dependencies have been satisfied. * @param {(string|string[])} deps - List of bundle ids * @param {Object} args - success/error arguments */ function ready(deps: (string | string[]), args: any): typeof loadjs; /** * Manually satisfy bundle dependencies. * @param {string} bundleId - The bundle id */ function done(bundleId: string): void; /** * Reset loadjs dependencies statuses */ function reset(): void; /** * Determine if bundle has already been defined * @param String} bundleId - The bundle id */ function isDefined(bundleId: any): boolean; }