import type { InputCandidate, InputOp, InputQuery, InputResult } from "./inputTarget.js"; import type { RaiseResult } from "./keyboardRaise.js"; import { type NativeFieldsResult } from "./nativeInputValue.js"; import { type StalenessVerdict } from "./screenStaleness.js"; export type EnterTextArgs = { text: string; testID?: string; component?: string; textMatch?: string; index?: number; replace?: boolean; device?: string; }; export type WritePath = "react" | "hid" | "native"; export type TextEntryResult = { success: boolean; value?: string; path?: WritePath; verified?: boolean; formatted?: boolean; retried?: boolean; note?: string; keyboard?: RaiseResult; error?: string; sent?: string; landed?: string | null; ambiguous?: boolean; matchedOnly?: boolean; candidates?: InputCandidate[]; totalInputs?: number; staleness?: StalenessVerdict; }; export type TextEntryAxes = { wrote: boolean; meaningful?: boolean; artifactOutcome: "failure" | "unmeaningful" | null; }; export declare function textEntryAxes(r: TextEntryResult): TextEntryAxes; export type TextEntryDeps = { runOp: (op: InputOp, query?: InputQuery, device?: string) => Promise; typeHid: (text: string) => Promise<{ success: boolean; error?: string; }>; raise: () => Promise; readNativeFields?: () => Promise; delay?: (ms: number) => Promise; }; export declare function isDecoratedValue(sent: string, landed: string | null): boolean; export declare function isFieldTransform(sent: string, landed: string | null): boolean; export declare function keyboardTypeNote(keyboardType: string | null, text: string): string; export declare function diagnoseMismatch(sent: string, landed: string | null): string; export declare function isHidTypeable(text: string): boolean; export declare function enterText(args: EnterTextArgs, deps: TextEntryDeps): Promise; //# sourceMappingURL=textEntry.d.ts.map