import type { BrushFilter, BrushLibrary, BrushLibraryEntry } from '@pixerate/editor/brushes'; /** * The brushes of a brush library as a rune (`filter`: e.g. `{ profile: CANVAS_PROFILE }` for what * a host can paint), read again after every change to the library: a brush saved in another * editor sharing it shows up. Empty until the first read. Call it during component setup. */ export declare function brushLibraryState(library: () => Pick | null | undefined, filter?: () => BrushFilter): { readonly entries: BrushLibraryEntry[]; };