export declare type Format = "json" | "yaml"; export declare function write_object(obj: any, file: string | null | undefined, opts?: { format: Format; }): Promise;