import type { KintoneFormFieldProperty, KintoneRestAPIClient } from "@kintone/rest-api-client"; import type { RecordSchema } from "../../types/schema"; import type { LocalRecord } from "../../types/record"; import type { LocalRecordRepository } from "../interface"; type UpdateKeyField = { code: string; type: SupportedUpdateKeyFieldType["type"]; }; export declare class UpdateKey { private readonly field; private readonly appCode; constructor(field: UpdateKeyField, appCode: string); static build: (apiClient: KintoneRestAPIClient, app: string, updateKeyCode: string, schema: RecordSchema) => Promise; getUpdateKeyField: () => UpdateKeyField; validateUpdateKeyInRecords: (records: LocalRecordRepository) => Promise; findUpdateKeyValueFromRecord: (record: LocalRecord) => string; } type SupportedUpdateKeyFieldType = KintoneFormFieldProperty.RecordNumber | KintoneFormFieldProperty.SingleLineText | KintoneFormFieldProperty.Number; export declare const hasAppCode: (input: string, appCode: string) => boolean; export {};