import { WorkspaceSessionSummary } from './types.js'; export type MethodPath = readonly string[]; type MaybePromise = Promise | T; export declare function resolveMethod(source: unknown, candidatePaths: readonly MethodPath[]): ((...args: TArgs) => MaybePromise) | null; export declare function unwrapAthenaData(payload: unknown): T | null; export declare function callAthenaMethod(source: unknown, candidatePaths: readonly MethodPath[], input?: unknown): Promise; interface WorkspaceSessionUser { email?: string; id?: string; name?: string | null; } export declare function toWorkspaceSessionSummary(user: WorkspaceSessionUser | undefined, organizationCount: number): WorkspaceSessionSummary; export declare function asSessionSummary(session: unknown): WorkspaceSessionSummary; export declare function asArray(value: unknown): T[]; export declare function asString(value: unknown, fallback?: string): string; export declare function asBoolean(value: unknown, fallback?: boolean): boolean; export {};