export interface Counter { incr: () => Promise; incrBy: (value: number) => Promise; } /** * Public namespace for emitting Forge frontend custom metrics from a Forge UI app. * * @example * import { frontendCustomMetrics } from '@forge/bridge'; * const c = frontendCustomMetrics.counter('button-click'); * c.incr(); // increment by 1 * c.incrBy(5); // increment by 5 (rejects if value <= 0) */ export declare const frontendCustomMetrics: { counter: (name: string) => Counter; }; //# sourceMappingURL=frontendCustomMetrics.d.ts.map