/**
 * Storybook integration helpers used by `pieui create` and `pieui init`:
 *
 *   - `findStorybookMainPath(projectDir)` — locate `.storybook/main.{ts,mts,js,mjs,cjs}` if any.
 *   - `patchStorybookMainAddons(mainPath)` — add `@swarm.ing/pieui/storybook/addon` to the
 *     `addons:` array. Idempotent.
 *   - `installStorybook(projectDir, bunBin)` — invoke `bunx storybook@latest init` (or a
 *     mock binary via `PIEUI_STORYBOOK_INIT_BIN`) to scaffold Storybook into a fresh project.
 *
 * Behaviour-wise: `create` runs install + patch; `init` only patches if config exists.
 */
export declare const PIEUI_STORYBOOK_ADDON = "@swarm.ing/pieui/storybook/addon/preset";
export declare const PIEUI_STORYBOOK_STORIES_GLOB = "../piecomponents/**/*.stories.@(js|jsx|mjs|ts|tsx)";
export declare const findStorybookMainPath: (projectDir: string) => string | null;
export declare const patchStorybookMainAddons: (mainPath: string) => boolean;
export declare const patchStorybookMainStories: (mainPath: string) => boolean;
export type StorybookSetupResult = {
    installed: boolean;
    mainPath: string | null;
    patched: boolean;
    error?: string;
};
export declare const installStorybook: (projectDir: string, fallbackBunBin?: string) => {
    installed: boolean;
    error?: string;
};
export declare const installAndWireStorybook: (projectDir: string, fallbackBunBin?: string) => StorybookSetupResult;
//# sourceMappingURL=storybookIntegration.d.ts.map