import type { HTMLAttributes } from "svelte/elements";
/** A single field error: `href` points to the offending control, `text` is the message. */
export type ErrorSummaryItem = {
href: string;
text: string;
};
type ErrorSummaryProps = Omit, "class"> & {
/** Summary heading. */
heading?: string;
/** The list of errors, each linking to the field that needs attention. */
errors?: ErrorSummaryItem[];
class?: string;
};
declare const ErrorSummary: import("svelte").Component;
type ErrorSummary = ReturnType;
export default ErrorSummary;
//# sourceMappingURL=ErrorSummary.svelte.d.ts.map