import { Settings, ResolvedFiles } from '../types/index.js'; /** * Determines whether a file should be published based on the publish resolution logic: * - If the file is explicitly opted OUT (unpublishPaths), never publish * - If the file is explicitly opted IN (publishPaths), always publish * - Otherwise, fall back to the global publish setting */ export declare function shouldPublishFile(resolvedPath: string, settings: Settings): boolean; /** * Builds a publish map from resolved file paths. * Only includes files that have an explicit publish config or when a global * publish flag is defined. Files without any config are left out of the map * so the publish endpoint is never called for them. */ export declare function buildPublishMap(filePaths: ResolvedFiles, settings: Settings): Map; /** * Returns true if the user has any explicit publish configuration — * global flag, gt-specific flag, or per-file publish/unpublish patterns. */ export declare function hasPublishConfig(settings: Settings): boolean; /** * Determines whether gtjson content should be published. * Uses the gt-specific publish flag if set, otherwise falls back to global. * Returns undefined when there is no explicit config at any level. */ export declare function shouldPublishGt(settings: Settings): boolean | undefined;