/// <reference types="react" />
/// <reference types="lodash" />
export type PreviewUrlType = {
    title?: string;
    url?: string;
    image?: string;
    description?: string;
    isFetching?: boolean;
};
export declare const usePreviewUrl: (bannedWords: string[], onChange: (v: string) => void) => {
    previewUrl: PreviewUrlType;
    setPreviewUrl: import("react").Dispatch<import("react").SetStateAction<PreviewUrlType>>;
    invalidUrls: string[];
    debounceInputModify: import("lodash").DebouncedFunc<(v: string) => void>;
    fetchPreviewData: (url: string) => void;
};
