import { PrinterImplementation } from "../types.js";
interface BambuPrintOptionsInternal {
projectName: string;
filePath: string;
useAMS?: boolean;
plateIndex?: number;
bedLeveling?: boolean;
flowCalibration?: boolean;
vibrationCalibration?: boolean;
layerInspect?: boolean;
timelapse?: boolean;
amsMapping?: number[];
md5?: string;
}
export declare class BambuImplementation extends PrinterImplementation {
private printerStore;
constructor(apiClient: any);
private getPrinter;
private resolveProjectFileMetadata;
getStatus(host: string, port: string, apiKey: string): Promise<any>;
print3mf(host: string, serial: string, token: string, options: BambuPrintOptionsInternal): Promise<any>;
cancelJob(host: string, port: string, apiKey: string): Promise<any>;
setTemperature(host: string, port: string, apiKey: string, component: string, temperature: number): Promise<{
status: string;
message: string;
command: string;
}>;
getFiles(host: string, port: string, apiKey: string): Promise<{
files: string[];
directories: Record<string, string[]>;
}>;
getFile(host: string, port: string, apiKey: string, filename: string): Promise<{
name: string;
exists: boolean;
}>;
uploadFile(host: string, port: string, apiKey: string, filePath: string, filename: string, print: boolean): Promise<Record<string, unknown>>;
startJob(host: string, port: string, apiKey: string, filename: string): Promise<{
status: string;
message: string;
file: string;
}>;
private extractBambuCredentials;
disconnectAll(): Promise<void>;
}
export {};