import { App } from "./App"; import { CommonModel } from "../classes/commonModel"; declare const STATES: readonly ["draft", "ready"]; export declare class AppRefreshQuery extends CommonModel { idPrefix(): string; appId: string; refreshQuery: string; value: string; locked: string; state: typeof STATES[number]; lastChangedAt: Date; lastConfirmedAt: Date; recurringFrequency: number; app: App; apiData(): Promise<{ id: string; appId: string; refreshQuery: string; value: string; locked: string; state: "ready" | "draft"; lastChangedAt: number; lastConfirmedAt: number; recurringFrequency: number; createdAt: number; updatedAt: number; }>; test(refreshQuery?: string): Promise<{ success: boolean; message: string; error: any; }>; query(): Promise; shouldRun(): Promise; triggerSchedules(stopRuns?: Boolean): Promise; static ensureOnePerApp(instance: AppRefreshQuery): Promise; static noUpdateIfLocked(instance: AppRefreshQuery): Promise; static updateState(instance: AppRefreshQuery): Promise; static appQuery(instance: AppRefreshQuery): Promise; static checkRecurringFrequency(instance: AppRefreshQuery): Promise; static noDestroyIfLocked(instance: AppRefreshQuery): Promise; } export {};