import SimpleSchema from 'simpl-schema';
import { MethodManager } from '../managers/method.manager';
export interface MethodModel {
    [key: string]: MethodAllModel;
}
export interface MethodAllModel {
    check?: SimpleSchema;
    function: (this: MethodManager & {
        id_ws: string;
        id_user: string;
        user: string;
    }, ...parameters: any[]) => Promise<any | any[]>;
    skipValidation?: boolean;
    bypassLog?: boolean;
    bypassLogs?: boolean;
    workerTaskWeight?: number;
    skipWorker?: boolean;
    forceWorker?: boolean;
    workerQueue?: 'publication' | 'codex' | 'default';
    targetWorkerIndex?: string | number;
    targetWorkerInstance?: string | number;
    bypassSession?: boolean;
    timeoutOverride?: number;
    maxConcurrency?: number;
    maxConcurrencyPerInstance?: number;
}
