import { ApplicationContract } from '../Contracts/ApplicationContract'; /** * (c) Phan Trung Nguyên * User: nguyenpl117 * Date: 3/15/2020 * Time: 8:25 PM * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ export declare class Facade { /** * The resolved object instances. */ static _instances: { [key: string]: any; }; /** * The application instance being facaded. * */ static app: ApplicationContract; /** * Hotswap the underlying instance behind the facade. * * @param namespace * @param instance */ static swap(namespace: any, instance: any): void; /** * Create facade instance * * @param namespace * @param handler */ static create(namespace: string, handler?: any): T; /** * Clear all of the resolved instances. * */ static clearResolvedInstances(): void; /** * Set the application instance. * * @param app */ static setFacadeApplication(app: ApplicationContract): void; }