import { Vue } from "vue-property-decorator";
import { TaskType } from "../../types/Task";
import { TaskModule } from "../../modules/TaskModule";
import { ResponseErrors } from "../../../../types";
import { TaskUserModule } from "../../modules/TaskUserModule";
export default class NewTaskForm extends Vue {
    taskModule: TaskModule;
    userModule: TaskUserModule;
    isShowPreview: boolean;
    isLoading: boolean;
    isShowManagersSelect: boolean;
    errors: ResponseErrors;
    currentType: TaskType;
    categoryId: number | null;
    candidateUids: string[];
    clientId: number | null;
    text: string;
    orderName: string;
    level: number;
    files: File[];
    executeUntilDate: Date;
    created(): void;
    get types(): Partial<{
        0: string;
        1: string;
    }>;
    get isTaskType(): boolean;
    get searchClientFn(): (query: string) => Promise<import("../../../base/types/SearchedClient").default[]>;
    get errorsAsArray(): string[];
    get getClientById(): (clientId: number) => Promise<import("../../../base/types/Client").default>;
    get getClientByOrderName(): (orderName: string) => Promise<import("../../../base/types/Client").default>;
    get getOrdersByClientId(): (clientId: number) => Promise<import("../../../base/types/Order").Order[]>;
    showPreview(value: boolean): void;
    clear(): void;
    selectCurrentManager(): void;
    setFiles(files: File[]): void;
    createNewTask(): void;
    save(): boolean;
    cancel(): boolean;
}
