/**
 * Google Drive adapter — config schema + eager-validating helper (W0207).
 *
 * `defineGoogleDriveSource` is the user-facing entry point for declaring a
 * Drive source in `config/sources.ts`. It parses the input through Zod
 * eagerly so typos / wrong shapes surface at config-load time, not at
 * first eval-run. Defaults for `kind`, `recurseDepth`, and `maxFiles` are
 * applied at parse time.
 */
import { z } from "zod";
import type { ResolvedSourceConfig } from "../../../sources.js";
import type { GoogleDriveSource } from "./types.js";
/**
 * Zod schema for a Drive source. Asserts `satisfies z.ZodType<GoogleDriveSource>`
 * against the independently-authored interface in `types.ts` (D0045 trust-
 * boundary rule) — drift becomes a compile error.
 */
export declare const GoogleDriveSourceSchema: z.ZodObject<{
    kind: z.ZodDefault<z.ZodLiteral<"google-drive">>;
    name: z.ZodString;
    rootFolderId: z.ZodString;
    recurseDepth: z.ZodDefault<z.ZodNumber>;
    maxFiles: z.ZodDefault<z.ZodNumber>;
    mimeFilters: z.ZodOptional<z.ZodArray<z.ZodString>>;
    default: z.ZodOptional<z.ZodBoolean>;
}, z.core.$strip>;
/** Convenience alias — the parsed/validated shape. */
export type GoogleDriveSourceConfig = GoogleDriveSource;
/**
 * Define a Google Drive doc source for `config/sources.ts`. Validates
 * eagerly; throws a `ZodError` describing the offending field on bad
 * input. The returned value is fully populated with defaults
 * (`kind`, `recurseDepth`, `maxFiles`).
 */
export declare function defineGoogleDriveSource(input: z.input<typeof GoogleDriveSourceSchema>): GoogleDriveSource;
/**
 * Project a Drive source onto the resolved-source shape, so `loadSource` can
 * return a plain `ResolvedSourceConfig` for Drive too — keeping Drive contained
 * here and sparing every downstream step a source-kind branch.
 *
 * The folder surfaces as `baseUrl` so logs and provenance name the real source
 * (not the Sanity production default). Sanity-only coordinates stay empty and
 * `perspective` is absent — Drive has no equivalent, and the fetch runs through
 * the Drive preset, not these fields.
 */
export declare function resolveGoogleDriveSource(source: GoogleDriveSource): ResolvedSourceConfig;
