import * as React from 'react';
import type { Component, Options, Props } from './types';
/**
 * Creates a type-safe component with the `as` prop and `React.forwardRef`.
 *
 * Inspired by ariakit and chakra-ui.
 */
export declare function createComponent<O extends Options>(component: React.ForwardRefRenderFunction<any, Props<O>>): Component<O>;
//# sourceMappingURL=system.d.ts.map