import { StoryObj, type Decorator } from '@storybook/react-webpack5';
import type { ListItemProps } from '../ListItem';
type Story = StoryObj<ListItemProps>;
/**
 * Recent storybook versions render the full source including all story parameters which
 * creates noise, this simple workaround only shows the render function.
 * This is a workaround for the issue.
 * @see https://github.com/storybookjs/storybook/issues/22281
 */
export declare const storySourceWithoutNoise: (config: Story) => Story;
/**
 * In order to make preview controls work correctly, we have to refresh the render
 * by swapping the `key`. This is a workaround for the Storybook's limitation.
 */
export declare const withoutKey: Decorator;
export declare const withSizedContainer: (size?: "small" | "medium" | "large" | number, border?: boolean) => Decorator;
/**
 * Not all stories need access to all controls as it causes unnecessary UI noise.
 */
export declare const disableControls: (hiddenByDefault?: string[]) => (hiddenForStory?: string[]) => {
    [k: string]: {
        table: {
            disable: boolean;
        };
    };
};
export {};
//# sourceMappingURL=helpers.d.ts.map