import { DevicesConfig, DevicesResult } from "./types.js"; //#region src/useMatchDevice/useMatchDevice.d.ts /** * Tracks device matches with the tools `createMatchDevice` helper. * * @param config - Device match configuration. * * @returns Current device matches and a per-device match listener helper. * * @example * ```tsx * const { devices, onMatch } = useMatchDevice({ * phone: { mediaQuery: '(max-width: 640px)' }, * }); * * useMounted(() => { * onMatch('phone', matches => console.log(matches)); * }); * ``` */ declare const useMatchDevice: (config: DevicesConfig) => DevicesResult; //#endregion export { useMatchDevice }; //# sourceMappingURL=useMatchDevice.d.ts.map