import "server-only"; export interface FormState { errors?: { path: string; message: string; }[]; success?: boolean; message?: string; } type FormType = "login" | "signup"; type GetFormActionProps = { pathname: string; formType: FormType; }; export declare function createFormAction({ pathname, formType, }: GetFormActionProps): Promise<(_state: FormState, formData: FormData) => Promise>; export {}; //# sourceMappingURL=formActions.d.ts.map