export type MatonService = "google-sheets" | "google-docs" | "google-drive" | "google-calendar" | "google-gmail" | "google-slides" | "google-forms" | "google-tasks" | "google-contacts" | "notion" | "slack" | "trello" | "airtable" | "github" | "jira" | string;
export type MatonRequestOptions = {
    service: MatonService;
    method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
    path: string;
    body?: unknown;
    queryParams?: Record<string, string>;
};
export type MatonResponse<T = unknown> = {
    ok: true;
    data: T;
    status: number;
} | {
    ok: false;
    error: string;
    status: number;
    notConnected?: boolean;
};
export declare function getMatonApiKey(): string | null;
export declare function matonRequest<T = unknown>(opts: MatonRequestOptions): Promise<MatonResponse<T>>;
