import { ImageSourcePropType } from 'react-native'; import { LogoHeaderConfig } from '../common/DeveloperConfig'; export declare const emitOptionsChanged: (options: LogoHeaderOptions) => void; export declare const emitRestoreDefaults: () => void; export declare const useHandleOptionEvents: (setOptions: (args: LogoHeaderOptions) => void, defaultOptions: LogoHeaderOptions) => void; /** * Listens to react-navigation events and in turn emits LogoHeader events * to set the header options per screen at the developerConfig level. * * Pass into screenListeners prop for a */ export declare const navigationScreenListeners: (headerOptions?: LogoHeaderConfig) => { focus: (e: any) => void; blur: () => void; }; /** * Setup LogoHeader emitters on a single screen to pass in custom options. * Most the time a combination of navigationScreenListeners and developConfig * should be sufficient but this is probably useful in advanced cases where the * developerConfig does not have enough context. */ export declare const useEmitLogoHeaderOptions: (newOptions: LogoHeaderOptions) => void; export type LogoHeaderOptions = { visible?: boolean; imageSource?: ImageSourcePropType; item?: JSX.Element; alignImage?: `${number}%`; alignItem?: `${number}%`; };