import type { NodeAttributeType } from '@lingxiteam/dsl'; import type { FC } from 'react'; import type { DataSourcePanelTypeKey, OpenDataSourcePanelParams } from '../../DataSource/DataSoureBlindPannel/interface'; import type { DataSoureBlindPannelProps } from '../../DataSource/DataSoureBlindPannel'; import type { LcdpEditorContextValue } from '../../utils/EditContext'; export interface SliderRightContextType extends LcdpEditorContextValue { selectedComp?: (NodeAttributeType & { id?: string; }) | null; selectedPage: NodeAttributeType & { id?: string; }; dataSoureBlineData?: DataSoureBlindPannelProps['params']; onOpenDataSourcePanel: (isOpen: boolean, type: DataSourcePanelTypeKey, value?: OpenDataSourcePanelParams) => void; } export interface SliderRightProviderType { dataSoureBlineData?: DataSoureBlindPannelProps['params']; onOpenDataSourcePanel?: (isOpen: boolean, type: DataSourcePanelTypeKey, value?: OpenDataSourcePanelParams) => void; } declare const SliderRightProvider: FC; declare const useRightContext: () => SliderRightContextType; export { SliderRightProvider, useRightContext };