import type { JSX } from 'preact';
import type { Namespace, NsTranslatable } from '../../../../types';
interface RegularSummaryItem<NS extends Namespace = Namespace> {
    summaryLabel: NsTranslatable<NS>;
    summaryValue: string | null | JSX.Element;
    preTranslated?: false;
}
interface PreTranslatedSummaryItem {
    summaryLabel: string;
    summaryValue: string | null | JSX.Element;
    preTranslated: true;
}
export type SummaryItem<NS extends Namespace = Namespace> = RegularSummaryItem<NS> | PreTranslatedSummaryItem;
export declare const isSummaryItem: (val: unknown) => val is SummaryItem<"common">;
export declare const summaryItem: <NS extends Namespace = Namespace>(summaryLabel: RegularSummaryItem<NS>["summaryLabel"], summaryValue: RegularSummaryItem<NS>["summaryValue"]) => RegularSummaryItem<NS>;
export declare const preTranslatedSummaryItem: (summaryLabel: PreTranslatedSummaryItem["summaryLabel"], summaryValue: PreTranslatedSummaryItem["summaryValue"]) => PreTranslatedSummaryItem;
export {};
