import { SchemaDef, Shape, CastFn, Access, AccessDef } from './types.js';
export default class Schema {
    id: string;
    plural?: string;
    service?: string;
    internal: boolean;
    shape: Shape;
    access?: AccessDef;
    castFn: CastFn;
    constructor(def: SchemaDef, schemas?: Map<string, Schema>);
    accessForAction(actionType?: string): Access;
}
