import { Meta, StoryFn } from '@storybook/react';
import { ComponentType } from 'react';
import { Background } from './types';
export declare const getFunctionType: (functions: {
    func: (...a: any[]) => any;
    name: string;
}[], argTypeOptions?: {
    type?: "radio";
    addUndefined: boolean;
}) => {
    control: {
        type: "radio";
    };
    options: {
        (...args: Parameters<(...a: any[]) => any>): any;
        toString(): string;
    }[];
    defaultValue: {
        (...args: Parameters<(...a: any[]) => any>): any;
        toString(): string;
    };
};
type InputType = Required<Required<Meta<{
    p: any;
}>>['argTypes']>['p'];
type Values = 'String' | 'Number' | 'Boolean' | 'Symbol';
type FunctionalValues = 'FunctionRadio' | 'MuiProps' | 'RestProps';
export declare const ArgTypes: Record<Values, InputType> & Record<FunctionalValues, (...args: any[]) => InputType>;
type MutateMetaOptions<C extends ComponentType | Record<string, any>> = {
    sourcePath?: string;
    designPath?: string;
    description?: string;
    generateImport?: boolean;
    argTypes?: Meta<C>['argTypes'];
    args?: Meta<C>['args'];
    isDeprecated?: boolean;
    isExperimental?: boolean;
    defaultBackground?: Background;
    componentExportName?: string;
    showPropsBlock?: boolean;
    showCodeSource?: boolean;
    showDemoHeader?: boolean;
    useV1Export?: boolean;
};
export declare const mutateMeta: <Component extends ComponentType<any> | Record<string, any>>(meta: Meta<Component>, props: MutateMetaOptions<Component>) => void;
type PartialStory = {
    name?: string;
    description?: string;
    fullWidth?: boolean;
    background?: Background;
    showCodeSource?: boolean;
};
export declare const mutateStory: (story: StoryFn, { name, description, fullWidth, background, showCodeSource }: PartialStory) => void;
export {};
//# sourceMappingURL=utils.d.ts.map