UNPKG

503 BTypeScriptView Raw
1import { ComposedRef } from '../modules/refs';
2import { API } from '../index';
3interface Meta {
4 ref?: ComposedRef;
5 source?: string;
6 sourceType?: 'local' | 'external';
7 sourceLocation?: string;
8 refId?: string;
9 v?: number;
10 type: string;
11}
12export declare const getEventMetadata: (context: Meta, fullAPI: API) => {
13 source: string;
14 sourceType: string;
15 sourceLocation: string;
16 refId: string;
17 ref: ComposedRef;
18 type: string;
19};
20export {};