import { ReactNode } from 'react';
import { Emitter } from 'mitt';
declare const STORYBOOK_PIE_CONFIG: {
    apiServer: string;
    centrifugeServer: string;
    enableRenderingLog: boolean;
    pageProcessor: string;
};
type SBEmitter = Emitter<Record<string, unknown>>;
export declare const usePieStorybookEmitter: () => SBEmitter;
export type PieStorybookProvidersProps = {
    children: ReactNode;
    emitter?: SBEmitter;
    pieConfig?: Partial<typeof STORYBOOK_PIE_CONFIG>;
};
export declare const PieStorybookProviders: ({ children, emitter, pieConfig, }: PieStorybookProvidersProps) => import("react/jsx-runtime").JSX.Element;
export declare const withPieCard: (Story: (props?: unknown) => ReactNode) => import("react/jsx-runtime").JSX.Element;
export declare const firePieMethod: (emitter: SBEmitter, cardName: string, methodName: string, payload: unknown) => void;
export type PieMethodTriggerProps = {
    card: string;
    method: string;
    payload?: unknown;
    label?: string;
};
export declare const PieMethodTrigger: ({ card, method, payload, label, }: PieMethodTriggerProps) => import("react/jsx-runtime").JSX.Element;
export { PIECARD_PARAM_KEY, PIE_STORYBOOK_FIRE_EVENT } from './addon/constants';
export type { PieMethodSpec, PieCardParams } from './addon/constants';
export declare const PieStorybookChannelBridge: () => null;
//# sourceMappingURL=index.d.ts.map