import { Event } from './backend/models';
import { EventConfig } from './index';
export interface PublisherInput {
    config: EventConfig;
}
export declare const Publisher: <T extends Event<string>>({ config, subject }: {
    config: EventConfig;
    subject: T["subject"];
}) => (data: T["data"], uniqueId?: string | undefined) => Promise<unknown>;
