import { type Writable } from "svelte/store"; import type { Matches, QueryAny } from "../components/MediaQuery.types"; export type Destroy = () => void; type ConvertQueryAny = T extends string ? boolean : T; export interface MediaStore { subscribe: Writable['subscribe']; destroy: Destroy; } export declare function mediaStore(query: T): MediaStore>; export {};