import type { AnyZodObject } from 'remotion'; type InferZodInput = T extends { _zod: { input: any; }; } ? T['_zod']['input'] : T extends { _input: any; } ? T['_input'] : Record; export type PropsIfHasProps = AnyZodObject extends Schema ? {} extends Props ? { inputProps?: InferZodInput & Props; } : { inputProps: Props; } : {} extends Props ? { inputProps: InferZodInput; } : { inputProps: InferZodInput & Props; }; export {};