import type { Locator, Page } from 'playwright';
import type { FieldVerificationMap } from '../support/config';
export type FormDataValue = string | number | boolean | null;
export type FormDataRecord = Record<string, FormDataValue>;
export interface FillFormOptions {
    fieldVerification?: FieldVerificationMap;
}
export declare function loadFormDataJson(filePath: string, cwd?: string): Promise<FormDataRecord>;
export declare function validateFormDataRecord(value: unknown, sourceName?: string): FormDataRecord;
export declare function fillFormFromData(page: Page, data: FormDataRecord, formSelector?: string, options?: FillFormOptions): Promise<void>;
export declare function findFormScope(page: Page, formSelector?: string): Promise<Locator>;
export declare function fillFormField(form: Locator, fieldName: string, value: FormDataValue, options?: FillFormOptions): Promise<void>;
