import { Dispatch, ReactNode, SetStateAction } from 'react'; import { FieldError, FormErrors } from '../hooks'; import { LinkSettingsForm } from '../types'; export interface SharedLinkSettingsContextValue { containerRef: HTMLDivElement | null; currentForm: LinkSettingsForm; errors: FormErrors; initialForm: LinkSettingsForm; resetForm: () => void; setContainerRef: Dispatch>; setFieldError: (field: string, error: FieldError) => void; setFieldValue: (field: string, value: unknown) => void; submitForm: () => Promise; validatePassword: (password: string) => boolean; } export declare const SharedLinkSettingsContext: import('react').Context; export declare const useSharedLinkSettingsContext: () => SharedLinkSettingsContextValue; interface SharedLinkSettingsProviderProps { children: ReactNode; } export declare const SharedLinkSettingsProvider: ({ children }: SharedLinkSettingsProviderProps) => import("react/jsx-runtime").JSX.Element; export {};