import { ConditionalProperty, ConditionalPropertyCallbackContext, CurrentUser } from '@sanity/types'; import React from 'react'; export declare function isThenable(value: any): boolean; export declare function isTrueIsh(checkProperty: ConditionalProperty, checkPropertyName: string, { document, parent, value, currentUser }: ConditionalPropertyCallbackContext): ConditionalProperty; export declare function omitDeprecatedRole(user: CurrentUser): Omit; export declare function useCheckCondition(checkProperty: ConditionalProperty, checkPropertyName: string, context: ConditionalPropertyCallbackContext): ConditionalProperty; declare type ChildrenWithPropsProps = { children: React.ReactNode | React.ReactNode[]; childProps: Record; }; export declare function mappedChildren({ children, childProps }: ChildrenWithPropsProps): {}[]; export {}; //# sourceMappingURL=common.d.ts.map