expo-router
Version:
Expo Router is a file-based router for React Native and web applications.
11 lines (10 loc) • 610 B
TypeScript
import type { RouterPerformanceMarkByName, RouterPerformanceMarkName } from './types';
export type * from './types';
export { isEnabled, unstable_enablePerformanceIntegration } from './enable';
export declare function mark<Name extends RouterPerformanceMarkName>(name: Name, detail: RouterPerformanceMarkByName<Name>['detail']): void;
export declare const unstable_performance: Performance;
export declare const unstable_PerformanceObserver: {
new (callback: PerformanceObserverCallback): PerformanceObserver;
prototype: PerformanceObserver;
readonly supportedEntryTypes: ReadonlyArray<string>;
};