import React from 'react';
type PropCondition<T> = {
    prop: keyof T;
    value: any;
};
type ComponentMapping<T> = {
    conditions: PropCondition<T> | PropCondition<T>[];
    component: React.ComponentType<T>;
};
export declare function createConditionalComponent<T extends object, K extends HTMLElement>(defaultComponent: React.ComponentType<T>, mappings: ComponentMapping<T>[]): React.ForwardRefExoticComponent<React.PropsWithoutRef<T> & React.RefAttributes<K>>;
export {};
//# sourceMappingURL=createConditionalComponent.d.ts.map