import React from 'react'; import type { CancellableLifecycleEvent, LinkToEvent, PluginEventHandler } from '@splunk/dashboard-types'; type LinkToUrlPayload = LinkToEvent['payload']; export type LinkToUrlEvent = CancellableLifecycleEvent & Omit & { url: string; }; export declare const useProtectedUrlModal: ({ isAllowedURL, addToAllowedURLs, }: { isAllowedURL: (url: string) => boolean; addToAllowedURLs: (url: string) => void; }) => { component: React.JSX.Element; onLinkToUrl: PluginEventHandler; }; export {}; //# sourceMappingURL=useProtectedUrlModal.d.ts.map