import { TaonBaseClass } from 'taon';
interface BaseCliWorkerOptionCallable {
    /**
     * Name of the function from which the option was called
     */
    calledFrom: string;
}
export declare class BaseCliWorkerConfigGetContextOptions {
    /**
     * default localhost
     */
    ipAddressOfTaonInstance?: string;
    /**
     * if null nothing is used as port (ip address will be clean)
     */
    port?: number | null;
}
/**
 * Default mode: DETACHED_CHILD_PROCESS
 */
export declare enum BaseCLiWorkerStartMode {
    CHILD_PROCESS = "child",
    IN_CURRENT_PROCESS = "process",
    DETACHED_WINDOW = "window"
}
export declare class BaseCLiWorkerStartParams {
    /**
     * Start mode
     * Default mode DETACHED_CHILD_PROCESS
     */
    mode: BaseCLiWorkerStartMode;
    restart?: boolean;
    kill?: boolean;
}
export declare class BaseCliMethodOptions extends TaonBaseClass<BaseCliMethodOptions> implements BaseCliWorkerOptionCallable {
    static from(opt?: Partial<BaseCliMethodOptions>): BaseCliMethodOptions;
    connectionOptions?: BaseCliWorkerConfigGetContextOptions;
    cliParams?: BaseCLiWorkerStartParams;
    /**
     * Name of the function from which the option was called
     */
    calledFrom: string;
}
export {};