import { Constructor } from "./constructor";
/**
 * Grants access to a resource for a user if their userId matches the resource's userId property.
 * When applied, any user whose id matches the resource's userId will have access to all CRUD actions for this resource.
 *
 * Sets `{@link ResourceMeta.accessByUserId}`.
 */
export declare function accessByUserId(): (constructor: Constructor<unknown>) => void;
