import { SetupContext } from 'vue';
import { LayerSelectProps, LayerSelectEmits } from './types';
import { Layer } from '@mapgis/webclient-vue3-common-utils';
export declare const useLayerSelect: (props: LayerSelectProps, emit: SetupContext<LayerSelectEmits>['emit']) => {
    treeLayers: import('@vue/reactivity').ComputedRef<{
        key: string;
        id: string;
        url: string;
        title: string;
        type: string;
        visible: boolean;
        sublayers?: any;
        activeScene?: any;
    }[]>;
    getSelectInnerLayers: () => Layer[];
    getUnSelectInnerLayers: () => Layer[];
    getSelectLayers: () => any[];
    getAllLayers: () => any[];
    onChange: (value: string | string[], label: any, extra: any) => void;
    updateLayers: () => void;
    getUnselectedLayerIds: () => string[];
    toggleCheckAll: ({ target }: {
        target: any;
    }) => void;
};
