import type { EmbedProvider, EmbedProviderMeta, EmbedSizes } from '../types'; export type UseEmbedUrlState = { url: string; provider: EmbedProvider | null; sizes: EmbedSizes; isValid: boolean; isLoading: boolean; error: string | null; }; export type UseEmbedUrlActions = { setUrl: (url: string) => void; parseUrl: (url: string) => EmbedProvider | null; fetchMeta: () => Promise; reset: () => void; }; export type UseEmbedUrlReturn = UseEmbedUrlState & UseEmbedUrlActions; export declare function useEmbedUrl(maxWidth?: number): UseEmbedUrlReturn; //# sourceMappingURL=useEmbedUrl.d.ts.map