export default class Current {
    /**
     * Runs configuration.
     * @returns {import("./configuration.js").default} - Current configuration.
     */
    static configuration(): import("./configuration.js").default;
    /**
     * Runs ability.
     * @returns {import("./authorization/ability.js").default | undefined} - Current ability.
     */
    static ability(): import("./authorization/ability.js").default | undefined;
    /**
     * Runs set ability.
     * @param {import("./authorization/ability.js").default | undefined} ability - Ability.
     * @returns {void} - No return value.
     */
    static setAbility(ability: import("./authorization/ability.js").default | undefined): void;
    /**
     * Runs with ability.
     * @param {import("./authorization/ability.js").default | undefined} ability - Ability.
     * @param {() => Promise<?>} callback - Callback.
     * @returns {Promise<?>} - Callback result.
     */
    static withAbility(ability: import("./authorization/ability.js").default | undefined, callback: () => Promise<unknown>): Promise<unknown>;
    /**
     * Runs tenant.
     * @returns {?} - Current tenant.
     */
    static tenant(): unknown;
    /**
     * Runs set tenant.
     * @param {?} tenant - Tenant.
     * @returns {void} - No return value.
     */
    static setTenant(tenant: unknown): void;
    /**
     * Runs with tenant.
     * @param {?} tenant - Tenant.
     * @param {() => Promise<?>} callback - Callback.
     * @returns {Promise<?>} - Callback result.
     */
    static withTenant(tenant: unknown, callback: () => Promise<unknown>): Promise<unknown>;
}
//# sourceMappingURL=current.d.ts.map