interface Props { style?: any; } interface Component { props: Props; } declare const findStyle: (key: string, component: Component) => T; export { findStyle };