import { type Database, Obj } from '@dxos/echo';
import { type DXN } from '@dxos/keys';
/**
 * Maps invocation target identifiers to readable script names.
 */
export declare const useFunctionNameResolver: ({ db }: {
    db?: Database.Database;
}) => (invocationTargetId: DXN | undefined) => string | undefined;
export declare const useInvocationTargetsForScript: (target: Obj.Unknown | undefined) => Set<string | undefined> | undefined;
export declare const useInvocationSpans: ({ queueDxn, target }: {
    queueDxn?: DXN;
    target?: Obj.Unknown;
}) => import("@dxos/functions-runtime").InvocationSpan[];
//# sourceMappingURL=hooks.d.ts.map