import { ITargetSelectedData } from '../type/target';
export type TDataSubmit = {
    id?: string;
    name: string;
    school_year_id: number;
    target: Array<ITargetSelectedData>;
    type_code?: string;
};
export declare const useTargetSelect: () => {
    handleInsertTarget: ({ data }: {
        data: TDataSubmit;
    }) => Promise<{
        id: number | null;
    }>;
    handleUpdateTargetByRole: ({ data, id }: {
        data: TDataSubmit;
        id: string;
    }) => Promise<void>;
    handleUpdateTarget: (id: string | undefined, data: any) => Promise<void>;
};
