import type { HeadlineSize } from './../@types/global'; import type { Snippet } from 'svelte'; interface Props { /** Headline, parsed as an _inline_ markdown string in an `h1` element OR as a custom snippet. */ hed: string | Snippet; /** Add extra classes to the block tag to target it with custom CSS. */ class?: string; /** Headline size: small, normal, big, bigger, biggest */ hedSize?: HeadlineSize; /** Dek, parsed as a markdown string OR as a custom snippet. */ dek?: string | Snippet; /** Section title */ section?: string; /** Array of author names, which will be slugified to create links to Reuters author pages */ authors?: string[]; /** Publish time as a datetime string. */ publishTime?: string; /** Update time as a datetime string. */ updateTime?: string; /** Width of the headline: normal, wide, wider, widest */ width?: 'normal' | 'wide' | 'wider' | 'widest'; /** * Custom function that returns an author page URL. */ getAuthorPage?: (author: string) => string; /** Custom crown snippet */ crown?: Snippet; /** * Optional snippet for a custom byline. */ byline?: Snippet; /** * Optional snippet for a custom published dateline. */ published?: Snippet; /** * Optional snippet for a custom updated dateline. */ updated?: Snippet; } /** * A centred story headline with kicker and dek, and an embedded Byline for authors and timestamps. * * [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-text-elements-headline--docs) */ declare const Headline: import("svelte").Component; type Headline = ReturnType; export default Headline;