import { FlatSkillFrameworkType } from '../../types/skill-framework';
import { SkillTreeNode } from '../../types/skill-tree';
import type { BoostValidator as _BoostValidator, BoostQuery } from '@learncard/types';
import type { z } from 'zod';
export declare const getSkillFrameworkById: (id: string) => Promise<FlatSkillFrameworkType | null>;
export declare const listSkillFrameworksManagedByProfile: (profileId: string) => Promise<FlatSkillFrameworkType[]>;
export declare const getAllAvailableSkillFrameworksForProfilePaged: (profileId: string, searchQuery: Record<string, unknown> | null, limit: number, cursor?: string | null) => Promise<{
    records: FlatSkillFrameworkType[];
    hasMore: boolean;
    cursor: string | null;
}>;
export declare const doesProfileManageFramework: (profileId: string, frameworkId: string) => Promise<boolean>;
export type SkillNode = {
    id: string;
    statement: string;
    description?: string;
    code?: string;
    type: string;
    status: 'active' | 'archived';
    parentId?: string;
};
export type FrameworkWithSkills = {
    framework: FlatSkillFrameworkType;
    skills: SkillTreeNode[];
};
export declare const buildSkillTree: (skills: SkillNode[]) => SkillTreeNode[];
export declare const getFrameworkWithSkills: (id: string) => Promise<FrameworkWithSkills | null>;
export declare const getBoostsThatUseFramework: (frameworkId: string, { limit, cursor, query }: {
    limit: number;
    cursor?: string | null;
    query?: BoostQuery | null;
}, domain: string) => Promise<{
    records: Array<z.infer<typeof _BoostValidator>>;
    hasMore: boolean;
    cursor?: string;
}>;
export declare const countBoostsThatUseFramework: (frameworkId: string, query?: BoostQuery | null) => Promise<number>;
//# sourceMappingURL=read.d.ts.map