import * as Rsg from 'react-styleguidist';
import { SanitizedStyleguidistConfig } from '../../types/StyleGuide';
/**
 * Return an object with all required for style guide information for a given component.
 *
 * @param {string} filepath
 * @param {object} config
 * @returns {object}
 */
export default function processComponent(filepath: string, config: SanitizedStyleguidistConfig, subComponentPaths?: string[], ignoreExample?: boolean): Rsg.LoaderComponent & {
    subComponents?: Rsg.LoaderComponent[];
};
