export type ValueFunction = (arg: TArg) => TValue; export type ValueOrFunction = TValue | ValueFunction; export declare const resolveValueOrFunction: (valOrFunction: ValueOrFunction, arg: TArg) => TValue; export type PlausibleEvent = string; export interface PlausibleOptions { callback?: Function; props?: Object; } export interface PlausibleEvents { event: PlausibleEvent; options?: PlausibleOptions; } export interface ObservablePlausibleEvents { loading?: PlausibleEvents; success?: ValueOrFunction; error?: ValueOrFunction; }