import type { NoticeAction, NoticeListProps } from '@wordpress/components/build-types/notice/types'; export type { NoticeAction }; export type Notice = NoticeListProps['notices'][number]; export type ValidationNoticesData = { notices: Notice[]; hasValidationNotice: (noticeId?: string) => boolean; addValidationNotice: (noticeId: string, message: string, actions?: NoticeAction[]) => void; removeValidationNotice: (noticeId: string) => void; }; export declare const useValidationNotices: () => ValidationNoticesData;