import React from 'react';
import { FixtureId } from 'react-cosmos-shared2/renderer';
import { CosmosConfig } from './config/shared';
declare type Args = {
    cosmosConfig: CosmosConfig;
};
declare type RenderableFixture = {
    fixtureId: FixtureId;
    getElement: () => React.ReactElement<any>;
};
export declare const getFixtures: (args: Args) => Promise<RenderableFixture[]>;
export declare function getFixturesSync({ cosmosConfig }: Args): RenderableFixture[];
export {};
