/**
 * Orientation is given to size() to determine the device orientation.
 * Landscape is the default orientation.
 */
export declare const enum Orientation {
    Landscape = "landscape",
    Portrait = "portrait",
}
/**
 * IFrameState is the state is the editor's frame display.
 */
export interface IFrameState {
    chosenDevice: number;
    width: number;
    height: number;
    dimensionsManuallySet: boolean;
    orientation: Orientation;
    controlsReady: boolean;
    isMasked: boolean;
}
export declare const enum Action {
    Select = "FRAME_SELECT",
    SetDimensions = "FRAME_SET_DIMENSIONS",
    Rotate = "FRAME_ROTATE",
    SetReady = "FRAME_SET_READY",
    Mask = "FRAME_MASK",
}
export declare const initialState: {
    chosenDevice: number;
    width: number;
    height: number;
    dimensionsManuallySet: boolean;
    orientation: Orientation;
    controlsReady: boolean;
    isMasked: boolean;
};
export declare function reducer(state: IFrameState, action: any): IFrameState;
