import { type IntlShape } from "react-intl";
import { type ObjRef } from "@gooddata/sdk-model";
import { type UrlDrillTarget } from "../../types.js";
import { type IAttributeWithDisplayForm } from "./types.js";
export interface IUrlInputProps {
    currentUrlValue: string;
    onChange: (value: string) => void;
    onCursor: (from: number, to: number) => void;
    syntaxHighlightingRules?: IFormattingRule[];
    intl: IntlShape;
}
export declare function UrlInput({ onChange, onCursor, currentUrlValue, intl, syntaxHighlightingRules }: IUrlInputProps): import("react/jsx-runtime").JSX.Element | null;
interface IFormattingRule {
    regex: RegExp;
    token: string;
}
export interface ICustomUrlEditorProps {
    urlDrillTarget?: UrlDrillTarget;
    attributeDisplayForms?: IAttributeWithDisplayForm[];
    loadingAttributeDisplayForms?: boolean;
    invalidAttributeDisplayFormIdentifiers: string[];
    documentationLink?: string;
    enableClientIdParameter: boolean;
    enableDataProductIdParameter: boolean;
    enableWidgetIdParameter: boolean;
    onClose: () => void;
    onSelect: (customUrl: string) => void;
    widgetRef: ObjRef;
}
export declare function CustomUrlEditor(props: ICustomUrlEditorProps): import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=CustomUrlEditor.d.ts.map