import { Device } from './device.js'; /** * Check if the device can play a specific audio format. * @param {Device} device - The device instance to check. * @param {string} type - The audio format type to check. * @returns {boolean} True if the device can play this audio format, false otherwise. */ export declare const canPlayAudio: (device: Device, type: string) => boolean; /** * Detect the operating system of the device. * @param {Device} device - The device instance to update. */ export declare const checkOS: (device: Device) => void; /** * Detect input capabilities of the device. * @param {Device} device - The device instance to update. */ export declare const checkInput: (device: Device) => void; /** * Check for fullscreen support capabilities. * @param {Device} device - The device instance to update. */ export declare const checkFullScreenSupport: (device: Device) => void; /** * Detect the browser type. * @param {Device} device - The device instance to update. */ export declare const checkBrowser: (device: Device) => void; /** * Check if an audio element can play a specific codec. * @param {HTMLAudioElement} audioElement - The audio element to test. * @param {string} type - The codec type to check. * @returns {boolean} True if the codec is supported, false otherwise. */ export declare const canPlayType: (audioElement: HTMLAudioElement, type: string) => boolean; /** * Check if a media source type is supported by the browser. * @param {string} type - The media source type to check. * @returns {boolean} True if the media source type is supported, false otherwise. */ export declare const isMediaSourceTypeSupported: (type: string) => boolean; /** * Check for supported audio formats on the device. * @param {Device} device - The device instance to update with audio format support. * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/MIME_types/Common_types * @see https://developer.mozilla.org/En/Media_formats_supported_by_the_audio_and_video_elements * @see https://bit.ly/iphoneoscodecs */ export declare const checkAudio: (device: Device) => void; /** * Check for supported image formats on the device. * @param {Device} device - The device instance to update with image format support. */ export declare const checkImage: (device: Device) => void; /** * Initialize device capabilities detection. * @param {Device} device - The device instance to initialize. */ export declare const initialize: (device: Device) => void; /** * Create a new Device instance. * @returns {Device} A new Device instance. */ export declare const createDevice: () => Device; //# sourceMappingURL=device_util.d.ts.map