import { StateFile } from 'relaycode-core'; declare const isRevertTransaction: (state: StateFile) => boolean; declare const getRevertedTransactionUuid: (state: StateFile) => string | null; declare const hasBeenProcessed: (cwd: string, uuid: string) => Promise; declare const writePendingState: (cwd: string, state: StateFile) => Promise; declare const updatePendingState: (cwd: string, state: StateFile) => Promise; declare const commitState: (cwd: string, uuid: string) => Promise; declare const markTransactionsAsGitCommitted: (cwd: string, uuids: string[]) => Promise; declare const deletePendingState: (cwd: string, uuid: string) => Promise; declare const readStateFile: (cwd: string, uuid: string) => Promise; interface ReadStateFilesOptions { skipReverts?: boolean; } declare const readAllStateFiles: (cwd?: string, options?: ReadStateFilesOptions) => Promise; declare const findLatestStateFile: (cwd?: string, options?: ReadStateFilesOptions) => Promise; declare const findStateFileByIdentifier: (cwd: string, identifier: string, options?: ReadStateFilesOptions) => Promise; export { commitState, deletePendingState, findLatestStateFile, findStateFileByIdentifier, getRevertedTransactionUuid, hasBeenProcessed, isRevertTransaction, markTransactionsAsGitCommitted, readAllStateFiles, readStateFile, updatePendingState, writePendingState };