import * as Schema from "effect/Schema";
import { Forbidden, NotFound } from "../../errors.ts";
export declare const ExternalDataSourcesRetrieveInput: Schema.Struct<{
    readonly id: Schema.String;
    readonly project_id: Schema.String;
}>;
export type ExternalDataSourcesRetrieveInput = typeof ExternalDataSourcesRetrieveInput.Type;
export declare const ExternalDataSourcesRetrieveOutput: Schema.Struct<{
    readonly id: Schema.optional<Schema.String>;
    readonly created_at: Schema.optional<Schema.String>;
    readonly created_by: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly status: Schema.optional<Schema.String>;
    readonly client_secret: Schema.optional<Schema.Schema<string | import("effect/Redacted").Redacted<string>>>;
    readonly account_id: Schema.optional<Schema.String>;
    readonly source_type: Schema.optional<Schema.Literals<readonly ["Ashby", "Supabase", "CustomerIO", "Github", "Stripe", "Hubspot", "Postgres", "Zendesk", "Snowflake", "Salesforce", "MySQL", "MongoDB", "MSSQL", "Vitally", "BigQuery", "Chargebee", "Clerk", "GoogleAds", "TemporalIO", "DoIt", "GoogleSheets", "MetaAds", "Klaviyo", "Mailchimp", "Braze", "Mailjet", "Redshift", "Polar", "RevenueCat", "LinkedinAds", "RedditAds", "TikTokAds", "BingAds", "Shopify", "Attio", "SnapchatAds", "Linear", "Intercom", "Amplitude", "Mixpanel", "Jira", "ActiveCampaign", "Marketo", "Adjust", "AppsFlyer", "Freshdesk", "GoogleAnalytics", "Pipedrive", "SendGrid", "Slack", "PagerDuty", "Asana", "Notion", "Airtable", "Greenhouse", "BambooHR", "Lever", "GitLab", "Datadog", "Sentry", "Pendo", "FullStory", "AmazonAds", "PinterestAds", "AppleSearchAds", "QuickBooks", "Xero", "NetSuite", "WooCommerce", "BigCommerce", "PayPal", "Square", "Zoom", "Trello", "Monday", "ClickUp", "Confluence", "Recurly", "SalesLoft", "Outreach", "Gong", "Calendly", "Typeform", "Iterable", "ZohoCRM", "Close", "Oracle", "DynamoDB", "Elasticsearch", "Kafka", "LaunchDarkly", "Braintree", "Recharge", "HelpScout", "Gorgias", "Instagram", "YouTubeAnalytics", "FacebookPages", "TwitterAds", "Workday", "ServiceNow", "Pardot", "Copper", "Front", "ChartMogul", "Zuora", "Paddle", "CircleCI", "CockroachDB", "Firebase", "AzureBlob", "GoogleDrive", "OneDrive", "SharePoint", "Box", "SFTP", "MicrosoftTeams", "Aircall", "Webflow", "Okta", "Auth0", "Productboard", "Smartsheet", "Wrike", "Plaid", "SurveyMonkey", "Eventbrite", "RingCentral", "Twilio", "Freshsales", "Shortcut", "ConvertKit", "Drip", "CampaignMonitor", "MailerLite", "Omnisend", "Brevo", "Postmark", "Granola", "BuildBetter", "Convex", "ClickHouse", "Plain"]>>;
    readonly latest_error: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly prefix: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly description: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly access_method: Schema.optional<Schema.Literals<readonly ["warehouse", "direct"]>>;
    readonly engine: Schema.optional<Schema.Unknown>;
    readonly last_run_at: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly schemas: Schema.optional<Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>>;
    readonly job_inputs: Schema.optional<Schema.NullOr<Schema.Unknown>>;
    readonly revenue_analytics_config: Schema.optional<Schema.Struct<{
        readonly enabled: Schema.optional<Schema.Boolean>;
        readonly include_invoiceless_charges: Schema.optional<Schema.Boolean>;
    }>>;
    readonly user_access_level: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly supports_webhooks: Schema.optional<Schema.Boolean>;
}>;
export type ExternalDataSourcesRetrieveOutput = typeof ExternalDataSourcesRetrieveOutput.Type;
/**
 * Create, Read, Update and Delete External data Sources.
 *
 * @param id - A UUID string identifying this external data source.
 * @param project_id - Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
 */
export declare const externalDataSourcesRetrieve: import("@distilled.cloud/core/client").OperationMethod<{
    readonly id: string;
    readonly project_id: string;
}, {
    readonly access_method?: "direct" | "warehouse" | undefined;
    readonly account_id?: string | undefined;
    readonly client_secret?: string | import("effect/Redacted").Redacted<string> | undefined;
    readonly created_at?: string | undefined;
    readonly created_by?: string | null | undefined;
    readonly description?: string | null | undefined;
    readonly engine?: unknown;
    readonly id?: string | undefined;
    readonly job_inputs?: unknown;
    readonly last_run_at?: string | null | undefined;
    readonly latest_error?: string | null | undefined;
    readonly prefix?: string | null | undefined;
    readonly revenue_analytics_config?: {
        readonly enabled?: boolean | undefined;
        readonly include_invoiceless_charges?: boolean | undefined;
    } | undefined;
    readonly schemas?: readonly {
        readonly [x: string]: unknown;
    }[] | undefined;
    readonly source_type?: "ActiveCampaign" | "Adjust" | "Aircall" | "Airtable" | "AmazonAds" | "Amplitude" | "AppleSearchAds" | "AppsFlyer" | "Asana" | "Ashby" | "Attio" | "Auth0" | "AzureBlob" | "BambooHR" | "BigCommerce" | "BigQuery" | "BingAds" | "Box" | "Braintree" | "Braze" | "Brevo" | "BuildBetter" | "Calendly" | "CampaignMonitor" | "Chargebee" | "ChartMogul" | "CircleCI" | "Clerk" | "ClickHouse" | "ClickUp" | "Close" | "CockroachDB" | "Confluence" | "ConvertKit" | "Convex" | "Copper" | "CustomerIO" | "Datadog" | "DoIt" | "Drip" | "DynamoDB" | "Elasticsearch" | "Eventbrite" | "FacebookPages" | "Firebase" | "Freshdesk" | "Freshsales" | "Front" | "FullStory" | "GitLab" | "Github" | "Gong" | "GoogleAds" | "GoogleAnalytics" | "GoogleDrive" | "GoogleSheets" | "Gorgias" | "Granola" | "Greenhouse" | "HelpScout" | "Hubspot" | "Instagram" | "Intercom" | "Iterable" | "Jira" | "Kafka" | "Klaviyo" | "LaunchDarkly" | "Lever" | "Linear" | "LinkedinAds" | "MSSQL" | "Mailchimp" | "MailerLite" | "Mailjet" | "Marketo" | "MetaAds" | "MicrosoftTeams" | "Mixpanel" | "Monday" | "MongoDB" | "MySQL" | "NetSuite" | "Notion" | "Okta" | "Omnisend" | "OneDrive" | "Oracle" | "Outreach" | "Paddle" | "PagerDuty" | "Pardot" | "PayPal" | "Pendo" | "PinterestAds" | "Pipedrive" | "Plaid" | "Plain" | "Polar" | "Postgres" | "Postmark" | "Productboard" | "QuickBooks" | "Recharge" | "Recurly" | "RedditAds" | "Redshift" | "RevenueCat" | "RingCentral" | "SFTP" | "SalesLoft" | "Salesforce" | "SendGrid" | "Sentry" | "ServiceNow" | "SharePoint" | "Shopify" | "Shortcut" | "Slack" | "Smartsheet" | "SnapchatAds" | "Snowflake" | "Square" | "Stripe" | "Supabase" | "SurveyMonkey" | "TemporalIO" | "TikTokAds" | "Trello" | "Twilio" | "TwitterAds" | "Typeform" | "Vitally" | "Webflow" | "WooCommerce" | "Workday" | "Wrike" | "Xero" | "YouTubeAnalytics" | "Zendesk" | "ZohoCRM" | "Zoom" | "Zuora" | undefined;
    readonly status?: string | undefined;
    readonly supports_webhooks?: boolean | undefined;
    readonly user_access_level?: string | null | undefined;
}, Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=externalDataSourcesRetrieve.d.ts.map