import { Vue } from "vue-property-decorator";
import { Order } from "../../types/Order";
import { ResponseErrors } from "../../../../types";
import Client from "../../types/Client";
import SearchedClient from "../../types/SearchedClient";
export default class ClientForm extends Vue {
    orderName: string;
    clientId: number | null;
    errors: ResponseErrors;
    searchClientsFn: (query: string) => Promise<SearchedClient[]>;
    getOrdersByClient: (clientId: number) => Promise<Order[]>;
    getClientByOrder: (orderName: string) => Promise<Client | null>;
    getClientByIdFn: (clientId: number) => Promise<Client>;
    disable: boolean;
    orderModel: Order | null;
    orders: Order[];
    loadOrdersForClient(clientId: number): Promise<void>;
    searchClientByOrder(orderName: string): Promise<void>;
    created(): Promise<void>;
    setErrors(errors: ResponseErrors): ResponseErrors;
    setOrderName(orderName: string): string;
    setClientId(clientId: number): number;
}
