import { IconProps } from '@primer/octicons-react';
import React from 'react';
import { SxProp } from './sx';
import { ComponentProps } from './utils/types';
declare type OcticonProps = {
    icon: React.ElementType;
} & IconProps;
declare function Octicon({ icon: IconComponent, ...rest }: OcticonProps): JSX.Element;
declare const StyledOcticon: import("styled-components").StyledComponent<typeof Octicon, any, SxProp, never>;
export declare type StyledOcticonProps = ComponentProps<typeof StyledOcticon>;
export default StyledOcticon;
