/** * The pinned category of a card, owned by the card or by its consumer. Controlled when * `selected` is not undefined: the card then only requests changes through `onSelectedChange`, * and a selection naming a category that is not in the data shows nothing pinned and asks the * owner to clear it. Identity is the category's name, so re-ranking or new values keep the pin. */ export declare function useCardSelection(selected: string | null | undefined, onSelectedChange: ((category: string | null) => void) | undefined, categories: readonly string[], ready: boolean): readonly [ string | null, (next: string | null | ((current: string | null) => string | null)) => void ];