import { Events } from './internal'; /** * Validates and returns the provided function */ export declare function sanitizeFunction(value: (...args: U) => T): (...args: U) => T; /** * Validates the provided event type */ export declare function sanitizeEventType(eventType: E['type']): E['type']; export declare function safeStringify(value: unknown, fallback: string): string; /** * Validates we're running inside an OpenFin environment */ export declare let validateEnvironment: () => void; export declare const setValidationMethod: (validationMethod: typeof validateEnvironment) => void;