import type { DomainBrowseInit, DomainBrowseRecentItem, DomainBrowseResult, DomainBrowserPickItem } from '../modeling/types.js';
declare const _default: {
    /**
     * Dispatches a domain rename event. Called when a domain element is renamed.
     *
     * @param key The key of the domain element that was renamed.
     * @param namespace The domain namespace key.
     * @param kind The domain element kind.
     * @param name The new name.
     * @param target Event dispatch target.
     */
    rename: (key: string, namespace: string, kind: string, name: string, target?: HTMLElement) => void;
    Browse: {
        /**
         * Dispatches an event to request recent items from the data domain.
         * @param domain The key of the data domain to request items for.
         * @param allowed Optional list of allowed items to filter the results for.
         * @param target The event target.
         */
        recent: (domain: string, allowed: DomainBrowserPickItem[] | undefined, target?: HTMLElement) => Promise<DomainBrowseRecentItem[] | undefined>;
        /**
         * Dispatches an event to open the domain browser.
         * @param init The domain browse initialization data.
         * @param target The event target.
         * @returns The domain browse result, or undefined if the event was not handled.
         */
        browse: (init: DomainBrowseInit, target?: HTMLElement) => Promise<DomainBrowseResult | undefined>;
    };
};
export default _default;
//# sourceMappingURL=DomainEvents.d.ts.map