/** @packageDocumentation
 * @module Utilities
 */
/** Define a common interface for conditionals. */
interface ConditionalValue<T> {
    syncEventIds: string[];
    refresh: () => void;
    value: T;
}
/** Type that is usually used in a conditional prop. */
type ConditionalProp<T> = ConditionalValue<T> | T | undefined;
/** @internal */
export declare function useConditionalValue<T>(conditionalProp: ConditionalProp<T>): T | undefined;
export {};
//# sourceMappingURL=useConditionalValue.d.ts.map