import { EnsureTriggerInboxSchema } from "./schemas";
import type { GetVersionedImplementationId } from "../../manifest/schemas";
import type { ConnectionsPluginProvides } from "../../connections";
export declare const ensureTriggerInboxPlugin: (sdk: {
    context: {
        api: import("../../..").ApiClient;
        resolveCredentials: () => Promise<string | {
            clientId: string;
            clientSecret: string;
            type?: "client_credentials" | undefined;
            baseUrl?: string | undefined;
            scope?: string | undefined;
        } | {
            clientId: string;
            type?: "pkce" | undefined;
            baseUrl?: string | undefined;
            scope?: string | undefined;
        } | undefined>;
    };
} & {
    context: import("../../eventEmission").EventEmissionContext;
} & {
    context: {
        getVersionedImplementationId: GetVersionedImplementationId;
    } & ConnectionsPluginProvides["context"];
} & {
    context: {
        meta: Record<string, import("../../..").PluginMeta>;
    };
}) => {
    ensureTriggerInbox: (options?: {
        name: string;
        app: string;
        action: string;
        connection?: string | number | null | undefined;
        inputs?: Record<string, unknown> | undefined;
        notificationUrl?: string | undefined;
    } | undefined) => Promise<{
        data: {
            id: string;
            created_at: string;
            name: string | null;
            status: string;
            paused_reason: string | null;
            notification_url: string | null;
            subscription: {
                connection_id: string | number | null;
                app_key: string;
                action_key: string;
                inputs: Record<string, unknown>;
            };
        };
    }>;
} & {
    context: {
        meta: {
            ensureTriggerInbox: import("../../..").PluginMeta;
        };
    };
};
export type EnsureTriggerInboxPluginProvides = ReturnType<typeof ensureTriggerInboxPlugin>;
export { EnsureTriggerInboxSchema };
//# sourceMappingURL=index.d.ts.map