import { SignedState } from '@statechannels/wallet-core'; import Knex from 'knex'; import { Model } from 'objection'; import { Bytes32, Uint48 } from '../type-aliases'; export declare type AdjudicatorStatus = { channelMode: 'Finalized' | 'Challenge'; states: SignedState[]; } | { channelMode: 'Open'; }; interface RequiredColumns { readonly channelId: Bytes32; readonly finalizesAt: Uint48; readonly blockNumber: Uint48; readonly blockTimestamp: Uint48; } export declare class AdjudicatorStatusModel extends Model implements RequiredColumns { readonly channelId: Bytes32; readonly finalizesAt: Uint48; readonly blockNumber: Uint48; readonly blockTimestamp: Uint48; readonly states: SignedState[]; static tableName: string; static get idColumn(): string; static getAdjudicatorStatus(knex: Knex, channelId: Bytes32): Promise; static setFinalized(knex: Knex, channelId: string, blockNumber: number, blockTimestamp: number, finalizesAt: number): Promise; static insertAdjudicatorStatus(knex: Knex, channelId: string, finalizesAt: number, states: SignedState[]): Promise; private static convertResult; toResult(): AdjudicatorStatus; } export {}; //# sourceMappingURL=adjudicator-status.d.ts.map