/** * If `componentProps` is a function, calls it with the provided `ownerState`. * Otherwise, just returns `componentProps`. */ declare function resolveComponentProps(componentProps: TProps | ((ownerState: TOwnerState, slotState?: TSlotState) => TProps) | undefined, ownerState: TOwnerState, /** * @deprecated Not used internally and will be removed in the next major version. */ slotState?: TSlotState): TProps | undefined; export default resolveComponentProps;