import { type RowDataMap } from '@deephaven/jsapi-utils'; import { type LinkPointOptions, type LinkColumn, type LinkFilterMap } from './LinkerUtils'; export declare const LinkerEvent: Readonly<{ LINK_POINT_SELECTED: "LinkerEvent.LINK_POINT_SELECTED"; SOURCE_DATA_SELECTED: "LinkerEvent.SOURCE_DATA_SELECTED"; REGISTER_TARGET: "LinkerEvent.REGISTER_TARGET"; }>; export declare const listenForLinkPointSelected: import("@deephaven/golden-layout").EventListenFunction<[sourceId: string, column: LinkColumn, options: LinkPointOptions]>; /** * Emit a linker point selected event * @param sourceId The source ID for the link point. Typically panel ID or widget ID * @param column The column selected as the link point * @param options Optional parameters for the link point selection * @param options.isAlwaysEnd Whether this link point is always the end of a link * @param options.isIsolatedLinker Whether this link point is selected in an isolated linker context */ export declare const emitLinkPointSelected: import("@deephaven/golden-layout").EventEmitFunction<[sourceId: string, column: LinkColumn, options: LinkPointOptions]>; export declare const useLinkPointSelectedListener: import("@deephaven/golden-layout").EventListenerHook<[sourceId: string, column: LinkColumn, options: LinkPointOptions]>; export declare const listenForLinkSourceDataSelected: import("@deephaven/golden-layout").EventListenFunction<[sourceId: string, data: RowDataMap]>; export declare const emitLinkSourceDataSelected: import("@deephaven/golden-layout").EventEmitFunction<[sourceId: string, data: RowDataMap]>; export declare const useLinkSourceDataSelectedListener: import("@deephaven/golden-layout").EventListenerHook<[sourceId: string, data: RowDataMap]>; export type LinkTargetProps = { /** * Gets the coordinates for displaying a link point in the target. * Coordinates are relative to the window, not the panel. * @param columnName The column name to get coordinates for * @returns The coordinates for the column, or null if column not visible * @throws Error if the column is not valid for this target */ getCoordinates: (columnName: string) => [number, number] | null; /** * Called when a link source value is selected. * Only includes the values from the current event, not previously set links. * @param filterMap The filter map to set for the target. May include multiple columns. */ setFilterValues: (filterMap: LinkFilterMap) => void; /** * Called when a link is deleted or a filter value is unset. * @param columnName The column name to unset the filter value for. * @param type The column type of the filter to unset. */ unsetFilterValue: (columnName: string, type: string | null) => void; /** * The ID of the golden layout panel the target is in. * May be the same as the sourceId if the target is a panel component. */ panelId: string; }; export declare const listenForRegisterLinkTarget: import("@deephaven/golden-layout").EventListenFunction<[sourceId: string, props: LinkTargetProps | null]>; export declare const emitRegisterLinkTarget: import("@deephaven/golden-layout").EventEmitFunction<[sourceId: string, props: LinkTargetProps | null]>; export declare const useRegisterLinkTargetListener: import("@deephaven/golden-layout").EventListenerHook<[sourceId: string, props: LinkTargetProps | null]>; //# sourceMappingURL=LinkerEvent.d.ts.map