import { Meta, StoryFn } from '@storybook/react-vite';
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;
    } | undefined)[];
    defaultValue: {
        (...args: Parameters<(...a: any[]) => any>): any;
        toString(): string;
    } | undefined;
};
type InputType = Required<Required<Meta<{
    p: any;
}>>['argTypes']>['p'];
type Values = 'String' | 'Number' | 'Boolean' | 'Symbol' | 'Hidden';
type FunctionRadioInputType = InputType & {
    options: NonNullable<InputType['options']>;
};
export declare const ArgTypes: Record<Values, InputType> & {
    FunctionRadio: (name: string) => FunctionRadioInputType;
    MuiProps: (name: string, url: string) => InputType;
    RestProps: (description: string) => 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<any>, { name, description, fullWidth, background, showCodeSource }: PartialStory) => void;
export {};
//# sourceMappingURL=utils.d.ts.map