import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { AuthType } from "./authtype.js";
import { ConnectionState } from "./connectionstate.js";
export type ConsumerConnection = {
    id?: string | undefined;
    name?: string | undefined;
    icon?: string | undefined;
    logo?: string | undefined;
    website?: string | undefined;
    tagLine?: string | undefined;
    serviceId?: string | undefined;
    unifiedApi?: string | undefined;
    consumerId?: string | undefined;
    /**
     * Type of authorization used by the connector
     */
    authType?: AuthType | undefined;
    enabled?: boolean | undefined;
    /**
     * Connection settings. Values will persist to `form_fields` with corresponding id
     */
    settings?: {
        [k: string]: any;
    } | null | undefined;
    /**
     * Attach your own consumer specific metadata
     */
    metadata?: {
        [k: string]: any;
    } | null | undefined;
    createdAt?: string | undefined;
    updatedAt?: string | null | undefined;
    /**
     * [Connection state flow](#section/Connection-state)
     */
    state?: ConnectionState | undefined;
};
/** @internal */
export declare const ConsumerConnection$inboundSchema: z.ZodType<ConsumerConnection, z.ZodTypeDef, unknown>;
export declare function consumerConnectionFromJSON(jsonString: string): SafeParseResult<ConsumerConnection, SDKValidationError>;
//# sourceMappingURL=consumerconnection.d.ts.map