interface Item { id: string | number; checked?: boolean; } /** @tossdocs-ignore */ export declare function useCheckList(initialItems: T[]): { list: T[]; set: (items: T[]) => void; isChecked: (id: T["id"]) => boolean | undefined; isAllChecked: () => boolean; check: (id: T["id"]) => void; unCheck: (id: T["id"]) => void; toggle: (id: T["id"]) => void; updateItem: (id: T["id"], checked: boolean) => void; toggleAll: () => void; checkAll: () => void; unCheckAll: () => void; updateAll: (checked: boolean) => void; getCheckedList: () => T[]; getCheckedIds: () => (string | number)[]; }; export {};