import type { AllowedDirectiveInput, AllowedDirectives } from "react-server-loader/directives";
/**
 * Normalizes allowedDirectives to an object map.
 *
 * - "server" targets are always functionLevel: true
 * - "client" targets are always functionLevel: false
 * - Accepts:
 *   - Array of strings: ["client", "server", "foo"]
 *   - Array of tuples: [["myDirective", "client"], ["foo", "server"]]
 *   - AllowedDirectives object
 *
 * Example:
 *   resolveAllowedDirectives([
 *     "client",
 *     ["myDirective", "server"],
 *     "server"
 *   ])
 *   // =>
 *   {
 *     client: { functionLevel: false, target: "client" },
 *     myDirective: { functionLevel: true, target: "server" },
 *     server: { functionLevel: true, target: "server" }
 *   }
 */
export declare function resolveAllowedDirectives(input: AllowedDirectiveInput[] | AllowedDirectives | undefined): AllowedDirectives;
//# sourceMappingURL=resolveAllowedDirectives.d.ts.map