/**
 * Utility to filter out internal props that should never be passed to DOM elements.
 *
 * Problem: When using rest destructuring (`...restProps`) in React components,
 * internal configuration props (like `hazo_chat_*`) can leak through and get
 * spread onto native DOM elements, causing React warnings:
 *
 * "Received `true` for a non-boolean attribute `hazo_chat_hide_references`"
 *
 * Solution: Use this utility to filter props before spreading to DOM elements.
 */
/**
 * Filters out props that should not be passed to DOM elements.
 * Use this before spreading props onto native HTML elements.
 *
 * @example
 * ```tsx
 * const { domProps, internalProps } = filter_dom_props(restProps);
 * return <input {...domProps} />;
 * ```
 */
export declare function filter_dom_props<T extends Record<string, unknown>>(props: T): {
    dom_props: Record<string, unknown>;
    internal_props: Record<string, unknown>;
};
/**
 * Simple version that just returns DOM-safe props.
 * Use when you don't need access to the filtered internal props.
 *
 * @example
 * ```tsx
 * const domProps = get_dom_safe_props(restProps);
 * return <input {...domProps} />;
 * ```
 */
export declare function get_dom_safe_props<T extends Record<string, unknown>>(props: T): Record<string, unknown>;
//# sourceMappingURL=filter_dom_props.d.ts.map