import type { Ref } from 'react'; import type { BaseProps, ForwardRefForwardPropsComponent, NoChildrenProp, TestIdProp } from '@pega/cosmos-react-core'; export interface AppAnnouncementProps extends BaseProps, NoChildrenProp, TestIdProp { /** Heading text for the announcement. */ heading?: string; /** Description text for the announcement. */ description?: string; /** Announcement details to be displayed in form of bulleted list. */ details?: string[]; /** Url to open with What's new link. */ whatsNewLink?: string; /** Content to populate the announcement button. */ whatsNewText?: string; /** When provided, the heading renders as a link to this URL and the What's new button is hidden. */ headingUrl?: string; /** An image source for the decorative background. */ image?: string; /** * Whether to fit AppAnnouncement widget in the parent element. */ fitToParent?: boolean; /** Callback when user dismisses the announcements. */ onDismiss?: () => void; ref?: Ref; } export declare const StyledAppAnnouncementContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit, HTMLDivElement>, never>> & string; export declare const StyledAppAnnouncement: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute, HTMLElement>, Pick>> & string; declare const _default: ForwardRefForwardPropsComponent & { getTestIds: (testIdProp?: TestIdProp["testId"]) => import("@pega/cosmos-react-core").TestIdsRecord; }; export default _default; //# sourceMappingURL=AppAnnouncement.d.ts.map