import { type DeviceProfile, type DeviceProfileCreateRequest, type DeviceProfileRequest, type DeviceProfileUpdateRequest, type PresentationDeviceConfigEntry } from '@smartthings/core-sdk'; import { type TableGenerator } from '../../table-generator.js'; export type ViewPresentationDeviceConfigEntry = Omit & Partial>; export type DeviceView = { dashboard?: { states: ViewPresentationDeviceConfigEntry[]; actions: ViewPresentationDeviceConfigEntry[]; }; detailView?: ViewPresentationDeviceConfigEntry[]; automation?: { conditions: ViewPresentationDeviceConfigEntry[]; actions: ViewPresentationDeviceConfigEntry[]; }; }; export type DeviceDefinition = DeviceProfile & { view?: DeviceView; }; export type DeviceDefinitionRequest = DeviceProfileRequest & { view?: DeviceView; }; export declare const entryValues: (entries: ViewPresentationDeviceConfigEntry[]) => string; export type TableOutputOptions = { includePreferences?: boolean; includeViewInfo?: boolean; }; export declare const buildTableOutput: (tableGenerator: TableGenerator, data: DeviceProfile | DeviceDefinition, options?: TableOutputOptions) => string; /** * Convert the `DeviceProfile` to a `DeviceProfileCreateRequest` by removing fields which can't * be included in a create request. */ export declare const cleanupForCreate: (deviceProfile: Partial) => DeviceProfileCreateRequest; /** * Convert the `DeviceProfile` to a `DeviceProfileUpdateRequest` by removing fields which can't * be included in an update request. */ export declare const cleanupForUpdate: (deviceProfile: Partial) => DeviceProfileUpdateRequest; //# sourceMappingURL=deviceprofiles-util.d.ts.map