import type { ApiClient } from "../../api";
import type { GetVersionedImplementationId } from "../manifest/schemas";
import type { CapabilitiesContext } from "../capabilities";
import type { ConnectionsPluginProvides } from "../connections";
export declare const listConnectionsPlugin: (sdk: {
    context: {
        getResolvedManifest: () => Promise<import("../manifest").Manifest | null>;
        getVersionedImplementationId: (appKey: string) => Promise<string | null>;
        resolveAppKeys: ({ appKeys }: {
            appKeys: string[];
        }) => Promise<import("../..").ResolvedAppLocator[]>;
        updateManifestEntry: (options: import("../manifest").UpdateManifestEntryOptions) => Promise<import("../manifest").UpdateManifestEntryResult>;
        addActionEntry: (options: import("../manifest").AddActionEntryOptions) => Promise<import("../manifest").AddActionEntryResult>;
        findActionEntry: ({ name, manifest, }: {
            name: string;
            manifest: import("../manifest").Manifest;
        }) => import("../manifest").ActionEntry | null;
        listActionEntries: ({ configPath, }?: {
            configPath?: string;
        }) => Promise<Array<[string, import("../manifest").ActionEntry]>>;
        deleteActionEntry: ({ name, configPath, skipWrite, }: {
            name: string;
            configPath?: string;
            skipWrite?: boolean;
        }) => Promise<import("../manifest").Manifest>;
        hasActionEntry: ({ name, manifest, }: {
            name: string;
            manifest: import("../manifest").Manifest;
        }) => boolean;
        findManifestEntry: typeof import("../manifest").findManifestEntry;
        readManifestFromFile: typeof import("../manifest").readManifestFromFile;
        getManifestConnections: () => Promise<Record<string, {
            connectionId: string | number;
        }> | null>;
    };
} & {
    context: {
        api: ApiClient;
        getVersionedImplementationId: GetVersionedImplementationId;
    } & CapabilitiesContext & ConnectionsPluginProvides["context"];
} & {
    context: import("../eventEmission").EventEmissionContext;
} & {
    context: {
        meta: Record<string, import("../..").PluginMeta>;
    };
}) => {
    listConnections: (options?: ({
        title?: string | undefined;
        search?: string | undefined;
        owner?: string | undefined;
        app?: string | undefined;
        appKey?: string | undefined;
        connections?: string[] | undefined;
        connectionIds?: string[] | undefined;
        authenticationIds?: string[] | undefined;
        account?: string | undefined;
        accountId?: string | undefined;
        includeShared?: boolean | undefined;
        isExpired?: boolean | undefined;
        expired?: boolean | undefined;
        pageSize?: number | undefined;
        maxItems?: number | undefined;
        cursor?: string | undefined;
    } & {
        cursor?: string;
        pageSize?: number;
        maxItems?: number;
    }) | undefined) => import("../..").PaginatedSdkResult<{
        date: string;
        is_invite_only: boolean;
        is_private: boolean;
        shared_with_all: boolean;
        id: string;
        account_id: string;
        title?: string | null | undefined;
        lastchanged?: string | undefined;
        destination_selected_api?: string | null | undefined;
        is_stale?: string | undefined;
        is_shared?: string | undefined;
        marked_stale_at?: string | null | undefined;
        label?: string | null | undefined;
        identifier?: string | null | undefined;
        url?: string | undefined;
        groups?: Record<string, unknown>[] | undefined;
        members?: string | undefined;
        permissions?: Record<string, boolean> | undefined;
        public_id?: string | undefined;
        account_public_id?: string | undefined;
        customuser_public_id?: string | undefined;
        implementation_id?: string | undefined;
        profile_id?: string | undefined;
        is_expired?: string | undefined;
        expired_at?: string | null | undefined;
        app_key?: string | undefined;
        app_version?: string | undefined;
    }>;
} & {
    context: {
        meta: {
            listConnections: import("../..").PluginMeta;
        };
    };
};
export type ListConnectionsPluginProvides = ReturnType<typeof listConnectionsPlugin>;
//# sourceMappingURL=index.d.ts.map