import { SceneBackground } from '../types/wall.mjs'; interface UseSceneBackgroundsOptions { /** Endpoint that returns `{ backgrounds: SceneBackground[] }` and accepts POST/DELETE. Defaults to '/api/wall-scene-backgrounds'. */ endpoint?: string; /** Skip the initial fetch (e.g. wait until isAdmin resolves). Default false. */ skip?: boolean; } interface UseSceneBackgroundsResult { backgrounds: SceneBackground[]; refresh: () => Promise; add: (input: { name: string; image_url: string; description: string; }) => Promise; remove: (id: string) => Promise; } /** * Admin scene-background CRUD. Currently only used by 3 of the 9 walls; * lifting it makes the feature trivial to enable on the others. */ declare function useSceneBackgrounds(opts?: UseSceneBackgroundsOptions): UseSceneBackgroundsResult; export { type UseSceneBackgroundsOptions, type UseSceneBackgroundsResult, useSceneBackgrounds };