/** Runs when the query starts matching; an optional returned teardown runs when it stops. */ export type ResponsiveSetup = (context: { matches: boolean; }) => void | (() => void); /** * Run `setup` whenever `query` starts matching, and its returned teardown when it * stops. A string is any media query - '(prefers-reduced-motion: reduce)' is just * a query. The `{ reducedMotion }` form reuses the reduced-motion source, so it * honors the app-level override too. Returns an unsubscribe that runs any live * teardown and stops listening. * * SSR-safe and client-only: with no matchMedia the setup never runs server-side - * it runs on mount when the query matches, never with a guessed server value. */ export declare function responsive(query: string | { reducedMotion: boolean; }, setup: ResponsiveSetup): () => void; //# sourceMappingURL=responsive.d.ts.map