import type { NlqTranslationError } from '../../../types.js';
/**
 * Builds a translation error when widget JSON is missing a required `id`.
 *
 * @internal
 */
export declare const missingWidgetIdError: (input: unknown) => NlqTranslationError;
/**
 * Narrows widget JSON to require a present `id`.
 *
 * @internal
 */
export declare const hasRequiredWidgetId: <T extends {
    id?: string | undefined;
}>(widget: T) => widget is T & {
    id: string;
};
