import { Tag, Instance } from '../../types/openapi'; import { InstanceTagsCanvasType, InstanceTagsType } from '../types/instanceTags.types'; export default function useInstanceTagsActions(): { fetchInstanceTags: ({ search, instanceId, page, pageSize, includeHidden, canvasType, type, }: { search: string; instanceId?: Instance["id"]; page?: number; pageSize?: number; includeHidden?: boolean; canvasType?: InstanceTagsCanvasType; type?: InstanceTagsType[]; }) => Promise; fetchAllInstanceTags: ({ search, instanceId }: { search?: string; instanceId?: Instance["id"]; }) => Promise; };