export declare function useScreenLocker(portrait: boolean, afterLock?: () => void): void;