import { TurboModule } from 'react-native'; import { UnsafeObject, Double } from 'react-native/Libraries/Types/CodegenTypes'; export interface Spec extends TurboModule { readonly getConstants: () => { topBarHeight: Double; statusBarHeight: Double; bottomTabsHeight: Double; backButtonId: string; }; setRoot(commandId: string, layout: UnsafeObject): Promise; setDefaultOptions(options: UnsafeObject): void; mergeOptions(componentId: string, options: UnsafeObject): void; push(commandId: string, componentId: string, layout: UnsafeObject): Promise; pop(commandId: string, componentId: string, options?: UnsafeObject): Promise; popTo(commandId: string, componentId: string, options?: UnsafeObject): Promise; popToRoot(commandId: string, componentId: string, options?: UnsafeObject): Promise; setStackRoot(commandId: string, componentId: string, layout: Array): Promise; showModal(commandId: string, layout: UnsafeObject): Promise; dismissModal(commandId: string, componentId: string, options?: UnsafeObject): Promise; dismissAllModals(commandId: string, options?: UnsafeObject): Promise; showOverlay(commandId: string, layout: UnsafeObject): Promise; dismissOverlay(commandId: string, componentId: string): Promise; dismissAllOverlays(commandId: string): Promise; getLaunchArgs(commandId: string): Promise>; } declare const commands: Spec; export default commands; //# sourceMappingURL=NativeRNNTurboModule.d.ts.map