1 | import type { ParamListBase } from '@react-navigation/routers';
|
2 | import type { NavigationProp } from './types';
|
3 | declare type Options = {
|
4 | key?: string;
|
5 | navigation?: NavigationProp<ParamListBase>;
|
6 | options?: object | undefined;
|
7 | };
|
8 | export default function useOptionsGetters({ key, options, navigation, }: Options): {
|
9 | addOptionsGetter: (key: string, getter: () => object | undefined | null) => () => void;
|
10 | getCurrentOptions: () => object | null | undefined;
|
11 | };
|
12 | export {};
|