import { type Database } from '@tinacms/graphql'; import { ConfigManager } from '../../config-manager'; import { BaseCommand } from '../baseCommands'; export declare class BuildCommand extends BaseCommand { static paths: string[][]; localOption: boolean; skipIndexing: boolean; partialReindex: boolean; tinaGraphQLVersion: string; /** * This option allows the user to skip the TinaCloud checks if they want to. This could be useful for mismatched GraphQL versions or if they want to build only using the local client and never connect to TinaCloud */ skipCloudChecks: boolean; skipSearchIndex: boolean; upstreamBranch: string; previewBaseBranch: string; previewName: string; noClientBuildCache: boolean; static usage: import("clipanion").Usage; catch(error: any): Promise; execute(): Promise; checkClientInfo(configManager: ConfigManager, apiURL: string, previewBaseBranch?: string): Promise<{ branchKnown: boolean; hasUpstream: boolean; timestamp: number; detectedBotBranch: boolean; defaultBranch: string | undefined; }>; syncProject(configManager: ConfigManager, apiURL: string, options?: { upstreamBranch?: string; previewBaseBranch?: string; previewName?: string; }): Promise; checkGraphqlSchema(configManager: ConfigManager, database: Database, apiURL: string, timestamp: number): Promise; checkTinaSchema(configManager: ConfigManager, database: Database, apiURL: string, previewName: string, verbose: boolean, timestamp: number): Promise; } export declare const fetchRemoteGraphqlSchema: ({ url, token, }: { url: string; token?: string; }) => Promise<{ remoteSchema: any; remoteRuntimeVersion: string; remoteProjectVersion: string; }>; export declare const fetchSchemaSha: ({ url, token, }: { url: string; token?: string; }) => Promise;