import { sbvrUtils } from '@balena/pinejs'; import type { Filter } from 'pinejs-client-core'; import type { RequestResponse } from '../../infra/request-promise/index.js'; import type { Device } from '../../balena-model.js'; export declare const proxy: import("express").RequestHandler | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | undefined; }, Record, Record>; interface FixedMethodRequestDevicesOpts { url: string; filter: Filter; data?: AnyObject; req?: sbvrUtils.Passthrough['req']; wait?: boolean; appId?: number | null; } export declare function postDevices(opts: FixedMethodRequestDevicesOpts & { wait?: true; }): Promise; export declare function postDevices(opts: FixedMethodRequestDevicesOpts & { wait: false; }): Promise; export {};