import { type PamirsDepartment, type PamirsEmployee } from '@oinone/kunlun-engine';
import type { OioTreeNode } from '@oinone/kunlun-shared';
import type { ComputedRef, Ref } from 'vue';
import { type ListInitOptions, type ListState, type ListStateLoadFunction, type ListStateProps, type TreeState } from '../../quick-utils';
export interface EmployeeListInstance {
    state: Ref<TreeState<PamirsEmployee>>;
    filterData: ComputedRef<OioTreeNode<PamirsEmployee>[]>;
    checkedAll: ComputedRef<boolean>;
    halfCheckedAll: ComputedRef<boolean>;
    init(options?: Partial<ListInitOptions>): Promise<ListState<PamirsEmployee>>;
    search(options?: Partial<ListInitOptions>): Promise<ListState<PamirsEmployee>>;
}
export declare function useEmployeeList(props?: ListStateProps & {
    load?: ListStateLoadFunction<PamirsDepartment>;
}): {
    state: ListState<PamirsEmployee>;
    filterData: ComputedRef<import("@oinone/kunlun-shared").OioListItem<PamirsEmployee>[]>;
    checkedAll: ComputedRef<boolean>;
    halfCheckedAll: ComputedRef<boolean>;
    init: (options?: Partial<ListInitOptions>) => Promise<ListState<PamirsEmployee>>;
    search: (options?: Partial<ListInitOptions>) => Promise<ListState<PamirsEmployee>>;
    onChecked: (item: import("@oinone/kunlun-shared").OioListItem, checked: boolean) => void;
    onCheckedAll: (items: import("@oinone/kunlun-shared").OioListItem[], checked: boolean) => void;
};
