import type { TamaguiComponentStateRef } from './types' export const hooks: InternalHooks = {} // internal hooks setup export function setupHooks(next: InternalHooks) { Object.assign(hooks, next) } type InternalHooks = { usePropsTransform?: ( elementType: any, props: Record, stateRef: { current: TamaguiComponentStateRef }, willHydrate?: boolean ) => any setElementProps?: (node?: any) => void useChildren?: (elementType: any, children: any, viewProps: Record) => any getBaseViews?: () => { View: any Text: any TextAncestor: any } }