import type { KeywordCxt } from 'ajv';
import type { Hash } from 'src/hash';
import type { ConsumerOptions } from 'src/consumer';
declare function extract(hash: Hash, options: ConsumerOptions): {
    keyword: string;
    type: ("string" | "number" | "boolean" | "object" | "integer" | "null" | "array")[];
    code: (cxt: KeywordCxt) => void;
};
declare function compose(units: string[]): {
    keyword: string;
    type: ("string" | "number" | "boolean" | "object" | "integer" | "null" | "array")[];
    code: (cxt: KeywordCxt) => void;
};
export declare const translate: {
    extract: typeof extract;
    compose: typeof compose;
};
export {};
