import type { CallServiceCommand } from '@hass-blocks/hass-ts'; import type { ITarget } from '../types/index.ts'; import type { Block } from '../core/index.ts'; /** * @public * * Arguments for a service call action */ export type ServiceCallArgs

= { target?: ITarget; params: Omit, 'id' | 'type' | 'target'>; }; /** * @public * * A specialised action block that will call a service on your configured Home Assistant * instance */ export declare const serviceCall:

(serviceConfig: { name: string; target?: ITarget; params: Omit, "id" | "type">; }) => Block | undefined, void>; //# sourceMappingURL=service-call.d.ts.map