import { IDatasource } from '../../models';
export type IDatasourceState = {
    datasources: IDatasource[];
};
export type DatasourceState = IDatasourceState & {
    updateDatasources: (datasources: IDatasource[]) => void;
};
export declare const datasourceStore: import("zustand").StoreApi<DatasourceState>;
export declare function useDatasourceStore(): DatasourceState;
export declare function useDatasourceStore<T>(selector: (state: DatasourceState) => T): T;
export default useDatasourceStore;
