creevey
Version:
Cross-browser screenshot testing tool for Storybook with fancy UI Runner
17 lines (16 loc) • 1.15 kB
TypeScript
export declare const storybookDirRef: {
current: string;
};
export declare const resolveFromStorybook: (modulePath: string) => string;
export declare const resolveFromStorybookAddonDocs: (modulePath: string) => string;
export declare const resolveFromStorybookBuilderWebpack4: (modulePath: string) => string;
export declare const resolveFromStorybookCore: (modulePath: string) => string;
export declare const resolveFromStorybookCoreServer: (modulePath: string) => string;
export declare const importStorybookClientLogger: <T = typeof import("@storybook/client-logger")>() => Promise<T>;
export declare const importStorybookCoreCommon: <T = typeof import("@storybook/core-common")>() => Promise<T>;
export declare const importStorybookCoreEvents: <T = typeof import("@storybook/core-events")>() => Promise<T>;
export declare function hasDocsAddon(): boolean;
export declare function getStorybookVersion(): string;
export declare function isStorybookVersionLessThan(major: number, minor?: number): boolean;
export declare function isStorybookVersion(major: number, minor?: number): boolean;
export declare function getStorybookFramework(): string;