import { MarketingAdapter } from './index.js';

type Automation = {
    id: string;
    name: string;
};
type AutomationCapable = {
    createAutomation(def: {
        name: string;
        listId: string;
    }): Promise<Automation>;
};
declare function asAutomationCapable(adapter: MarketingAdapter): AutomationCapable;
declare function createAutomation(adapter: MarketingAdapter, def: {
    name: string;
    listId: string;
}): Promise<Automation>;

export { type Automation, type AutomationCapable, asAutomationCapable, createAutomation };
