import { DeviceIntegrationType, type DriverChannelDetails, type EdgeDriver, type EdgeDriverSummary, type SmartThingsClient } from '@smartthings/core-sdk'; import { type TableFieldDefinition, type TableGenerator } from '../../table-generator.js'; export type DriverChannelDetailsWithName = DriverChannelDetails & { name: string; }; export declare const listTableFieldDefinitions: TableFieldDefinition[]; export declare const permissionsValue: (driver: EdgeDriver) => string; export declare const buildTableOutput: (tableGenerator: TableGenerator, driver: EdgeDriver) => string; export declare const listDrivers: (client: SmartThingsClient, includeAllOrganizations?: boolean) => Promise; export declare const listAssignedDriversWithNames: (client: SmartThingsClient, channelId: string) => Promise; export declare const edgeDeviceTypes: DeviceIntegrationType[]; export type DeviceDriverInfo = { label?: string; type: DeviceIntegrationType; deviceId: string; driverId?: string; hubId?: string; hubLabel?: string; }; export declare const getDriverDevices: (client: SmartThingsClient) => Promise; /** * When presenting a list of drivers to choose from, we only use the `driverId` and `name` fields. * Using this type instead of `EdgeDriverSummary` allows the caller of `chooseDriver` (below) * to use functions that return other objects as long as they include these two fields. */ export type DriverChoice = Pick; /** * Filter the driver currently in use by a device out of a list of drivers. */ export declare const withoutCurrentDriver: (client: SmartThingsClient, deviceId: string, drivers: DriverChoice[]) => Promise; export declare const listAllAvailableDrivers: (client: SmartThingsClient, deviceId: string, hubId: string) => Promise; export declare const listMatchingDrivers: (client: SmartThingsClient, deviceId: string, hubId: string) => Promise; //# sourceMappingURL=edge-drivers.d.ts.map