/** SQL reads used to preserve active User_Input candidates during delivery. */ import type { SqlExecutor, SqlStorageAdapter } from "../../../contracts/storage/sql.js"; /** Parameters for the active-candidate guard query. */ export interface UserInputCandidateGuardQuery { readonly physicalSheetId: string; readonly projection: string; readonly rowBindingId: string; readonly fieldNames: readonly string[]; readonly openConflictStatus: string; readonly rebasedConflictStatus: string; } /** * Checks whether an effect would overwrite an active User_Input candidate. * Field names become bound-value placeholders; no caller value is interpolated * into SQL text. */ export declare function hasActiveUserInputCandidateWithSql(sql: SqlExecutor, query: UserInputCandidateGuardQuery): Promise; /** Checks the active-candidate guard through an adapter-owned read context. */ export declare function hasActiveUserInputCandidateWithAdapter(storage: SqlStorageAdapter, query: UserInputCandidateGuardQuery): Promise; //# sourceMappingURL=effectWorkerSql.d.ts.map