UNPKG

@kvaser/canking-api

Version:

CanKing API to communicate with the CanKing service using Node.js.

29 lines (28 loc) 1.03 kB
import { FrameDefinition } from '../models'; /** * Properties of the MessageDatabase React component which can be retrieved using the useMessageDatabases hook. */ export interface IMessageDatabase { name: string; messages: FrameDefinition[]; } /** * Gets a MessageDatabase object that can be used for retrieving CAN and LIN databases. */ export declare const useMessageDatabases: (nodeIdentifier?: string) => IMessageDatabase[]; /** * Properties of the SelectMessageDialog React component. */ export interface SelectMessageDialogProps { parentDialogTitle?: string; open: boolean; onSelect: (message: FrameDefinition) => void; nodeIdentifier?: string; onClose: () => void; modal?: boolean; } /** * A react component to be used for opening a select database message dialog. */ declare function SelectMessageDialog({ parentDialogTitle, open, onSelect, nodeIdentifier, onClose, modal, }: SelectMessageDialogProps): import("react/jsx-runtime").JSX.Element; export default SelectMessageDialog;