import type { SharedProps } from '@bonniernews/dn-design-system-web/assets/types/shared-props.ts'; export interface DateInputProps extends SharedProps { /** Used as both the name and id of the date input. */ name: string; /** Needed for accessibility, but will be visually hidden. */ label: string; /** Fixed pixel value is used for typography to prevent scaling based on html font-size */ forcePx?: boolean; autofocus?: boolean; error?: boolean; errorMessage?: string; helpText?: string; placeholder?: string; /** Date value in YYYY-MM-DD format, or an empty string for no date. */ value?: string; } /** * Date input based around input type=date. * * - GitHub: [BonnierNews/dn-design-system/web/src/components/date-input](https://github.com/BonnierNews/dn-design-system/tree/main/web/src/components/date-input) * - Storybook: [Form > DateInput](https://designsystem.dn.se/?path=/docs/basic-form-dateinput--docs) * * The component will not include styling by itself. Make sure to include the right styles for the component. See example below: * `@use "@bonniernews/dn-design-system-web/components/date-input/date-input";` */ export declare const DateInput: ({ name, label, placeholder, error, errorMessage, helpText, forcePx, autofocus, value, attributes, classNames, }: DateInputProps) => import("preact").JSX.Element;