/** * Represents a camera frame object. * * @public */ export interface ICameraFrame { width: number; height: number; } /** * Represents a camera frame object. * * @public */ export type CameraFrame = `${string}:${string}` | ICameraFrame; /** * Represents a camera frame object. * * @public */ export declare namespace CameraFrame { /** * Parses a camera frame. * * @public * @param frame - The camera frame to parse. * @returns The parsed camera frame. */ function parse(frame: CameraFrame): ICameraFrame; /** * Converts a camera frame to an aspect ratio. * * @public * @param frame - The camera frame to convert. * @returns The aspect ratio of the camera frame. */ function toAspectRatio(frame: CameraFrame): number; } /** * Represents the camera frames. * * @public */ export declare namespace CameraFrames { /** * The ID1 format is used for the ID card. * * @public * @property {number} width - The width of the ID1 format in millimeters. * @property {number} height - The height of the ID1 format in millimeters. */ const ID1: { width: number; height: number; }; /** * The ID2 format is used for the ID card. * * @public * @property {number} width - The width of the ID2 format in millimeters. * @property {number} height - The height of the ID2 format in millimeters. */ const ID2: { width: number; height: number; }; /** * The ID3 format is used for the ID card. * * @public * @property {number} width - The width of the ID3 format in millimeters. * @property {number} height - The height of the ID3 format in millimeters. */ const ID3: { width: number; height: number; }; } //# sourceMappingURL=CameraFrame.d.ts.map