import { FsStat } from '../fsstat'; import { TEnvState, TOptionsStateIndex, TStateRow } from "../index.env"; import { Sqlite } from '../sqlite/index'; import { TWorkInfo, WorkInfo } from './work_info'; import { TypeDataHandler } from '../typedata'; export declare class State { readonly name: string; readonly pathData: string; readonly pathMap: string; readonly fileMap: string; readonly typeData: TypeDataHandler; readonly indexes: TOptionsStateIndex[]; readonly sqlite: Sqlite; workInfo: WorkInfo; watchQueue: { action: 'add' | 'change' | 'unlink'; fullFileName: string; fsstat: FsStat; }[]; callbackError: (error: string) => void; callbackDebug: (debug: string) => void; callbackTrace: (trace: string) => void; callbackChangeDelete: (rows: TStateRow[]) => void; callbackChangeInsert: (rows: TStateRow[]) => void; constructor(state: TEnvState, callbackWorkInfo: (work_info: TWorkInfo) => void, callbackError: ((error: string) => void) | undefined, callbackDebug: ((debug: string) => void) | undefined, callbackTrace: ((trace: string) => void) | undefined, callbackChangeDelete: (rows: TStateRow[]) => void | undefined, callbackChangeInsert: (rows: TStateRow[]) => void | undefined); watchQueueState(): 'work' | 'pause' | 'unwanted'; init(callback: (success: boolean) => void): void; upsert(allowCallbackChangeInsert: boolean, fileRows: { fullFileName: string; fsstat: FsStat; }[], callback: (success: boolean) => void): void; selectByProps(filterPath: string | undefined, filterFile: string | undefined, filterIndexString: ({ index: string; value: string; }[]), filterIndexNumber: ({ index: string; value: number; }[]), callback: (error: Error | undefined, rows: TStateRow[]) => void): void; selectByQuery(filterGlobal: string | undefined, filterIndexString: ({ index: string; query: string; }[]), filterIndexNumber: ({ index: string; query: string; }[]), callback: (error: Error | undefined, rows: TStateRow[]) => void): void; } //# sourceMappingURL=index.d.ts.map