import { GlobalOptions } from "../../types.js";
import { Workspace } from "../workspace/workspace.js";
import { SyncOptions } from "../../core/conf.js";
export declare const APP_BACKEND_FOLDER = "backend";
/**
 * Updates locks for inline scripts in an app
 */
export declare function generateAppLocksInternal(appFolder: string, rawApp: boolean, dryRun: boolean, workspace: Workspace, opts: GlobalOptions & {
    defaultTs?: "bun" | "deno";
}, justUpdateMetadataLock?: boolean, noStaleMessage?: boolean): Promise<string | void>;
/**
 * Result of schema inference for a runnable
 */
export interface InferredSchemaResult {
    runnableId: string;
    schema: any;
}
/**
 * Infers schema for a single runnable from its file content.
 * Used by dev server to update schema in memory (for wmill.d.ts generation).
 * Does NOT write to the runnable YAML file - schema is kept in memory only.
 *
 * @param appFolder - The folder containing the raw app
 * @param runnableFilePath - The path to the changed runnable file (relative to runnables folder)
 * @returns The runnable ID and inferred schema, or undefined if inference failed/not applicable
 */
export declare function inferRunnableSchemaFromFile(appFolder: string, runnableFilePath: string): Promise<InferredSchemaResult | undefined>;
export declare function generateLocksCommand(opts: GlobalOptions & {
    yes?: boolean;
    dryRun?: boolean;
    defaultTs?: "bun" | "deno";
} & SyncOptions, appPath: string | undefined): Promise<void>;
//# sourceMappingURL=app_metadata.d.ts.map