import { LeadViewProps } from "./stn-employee-lead-submit-view"; export declare type UseFormProps = { formKey: string; pageOnePath: string; pageTwoPath?: string; homePath: string; }; export declare function useLeadSubmit(props: UseFormProps): LeadViewProps; export interface ValidationErrors { getErrorAtPath(path: string): ValidationError[]; getSubErrorsAtPath(path: string): ValidationError[]; hasSubErrors(path: string): boolean; } export declare type ValidationError = { error: string; keywordLocation: string; instanceLocation: string; }; export declare type UseEmployeeLeadViewProps = ReturnType;